public static final class DriverRuntimeProtocol.RuntimeStatusProto extends com.google.protobuf.GeneratedMessage implements DriverRuntimeProtocol.RuntimeStatusProtoOrBuilder
RuntimeStatusProto| Modifier and Type | Class and Description |
|---|---|
static class |
DriverRuntimeProtocol.RuntimeStatusProto.Builder
Protobuf type
RuntimeStatusProto |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
CONTAINER_ALLOCATION_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OUTSTANDING_CONTAINER_REQUESTS_FIELD_NUMBER |
static com.google.protobuf.Parser<DriverRuntimeProtocol.RuntimeStatusProto> |
PARSER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getContainerAllocation(int index)
repeated string container_allocation = 6; |
com.google.protobuf.ByteString |
getContainerAllocationBytes(int index)
repeated string container_allocation = 6; |
int |
getContainerAllocationCount()
repeated string container_allocation = 6; |
List<String> |
getContainerAllocationList()
repeated string container_allocation = 6; |
static DriverRuntimeProtocol.RuntimeStatusProto |
getDefaultInstance() |
DriverRuntimeProtocol.RuntimeStatusProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ReefServiceProtos.RuntimeErrorProto |
getError()
optional .RuntimeErrorProto error = 3; |
ReefServiceProtos.RuntimeErrorProtoOrBuilder |
getErrorOrBuilder()
optional .RuntimeErrorProto error = 3; |
String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
int |
getOutstandingContainerRequests()
optional int32 outstanding_container_requests = 5; |
com.google.protobuf.Parser<DriverRuntimeProtocol.RuntimeStatusProto> |
getParserForType() |
int |
getSerializedSize() |
ReefServiceProtos.State |
getState()
required .State state = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasError()
optional .RuntimeErrorProto error = 3; |
int |
hashCode() |
boolean |
hasName()
required string name = 1; |
boolean |
hasOutstandingContainerRequests()
optional int32 outstanding_container_requests = 5; |
boolean |
hasState()
required .State state = 2; |
boolean |
isInitialized() |
static DriverRuntimeProtocol.RuntimeStatusProto.Builder |
newBuilder() |
static DriverRuntimeProtocol.RuntimeStatusProto.Builder |
newBuilder(DriverRuntimeProtocol.RuntimeStatusProto prototype) |
DriverRuntimeProtocol.RuntimeStatusProto.Builder |
newBuilderForType() |
static DriverRuntimeProtocol.RuntimeStatusProto |
parseDelimitedFrom(InputStream input) |
static DriverRuntimeProtocol.RuntimeStatusProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DriverRuntimeProtocol.RuntimeStatusProto |
parseFrom(byte[] data) |
static DriverRuntimeProtocol.RuntimeStatusProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DriverRuntimeProtocol.RuntimeStatusProto |
parseFrom(com.google.protobuf.ByteString data) |
static DriverRuntimeProtocol.RuntimeStatusProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DriverRuntimeProtocol.RuntimeStatusProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DriverRuntimeProtocol.RuntimeStatusProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DriverRuntimeProtocol.RuntimeStatusProto |
parseFrom(InputStream input) |
static DriverRuntimeProtocol.RuntimeStatusProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DriverRuntimeProtocol.RuntimeStatusProto.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionfindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static com.google.protobuf.Parser<DriverRuntimeProtocol.RuntimeStatusProto> PARSER
public static final int NAME_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int OUTSTANDING_CONTAINER_REQUESTS_FIELD_NUMBER
public static final int CONTAINER_ALLOCATION_FIELD_NUMBER
public static DriverRuntimeProtocol.RuntimeStatusProto getDefaultInstance()
public DriverRuntimeProtocol.RuntimeStatusProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public com.google.protobuf.Parser<DriverRuntimeProtocol.RuntimeStatusProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasName()
required string name = 1;
e.g., local, yarn21
hasName in interface DriverRuntimeProtocol.RuntimeStatusProtoOrBuilderpublic String getName()
required string name = 1;
e.g., local, yarn21
getName in interface DriverRuntimeProtocol.RuntimeStatusProtoOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
required string name = 1;
e.g., local, yarn21
getNameBytes in interface DriverRuntimeProtocol.RuntimeStatusProtoOrBuilderpublic boolean hasState()
required .State state = 2;hasState in interface DriverRuntimeProtocol.RuntimeStatusProtoOrBuilderpublic ReefServiceProtos.State getState()
required .State state = 2;getState in interface DriverRuntimeProtocol.RuntimeStatusProtoOrBuilderpublic boolean hasError()
optional .RuntimeErrorProto error = 3;
runtime (e.g., YARN) error
hasError in interface DriverRuntimeProtocol.RuntimeStatusProtoOrBuilderpublic ReefServiceProtos.RuntimeErrorProto getError()
optional .RuntimeErrorProto error = 3;
runtime (e.g., YARN) error
getError in interface DriverRuntimeProtocol.RuntimeStatusProtoOrBuilderpublic ReefServiceProtos.RuntimeErrorProtoOrBuilder getErrorOrBuilder()
optional .RuntimeErrorProto error = 3;
runtime (e.g., YARN) error
getErrorOrBuilder in interface DriverRuntimeProtocol.RuntimeStatusProtoOrBuilderpublic boolean hasOutstandingContainerRequests()
optional int32 outstanding_container_requests = 5;hasOutstandingContainerRequests in interface DriverRuntimeProtocol.RuntimeStatusProtoOrBuilderpublic int getOutstandingContainerRequests()
optional int32 outstanding_container_requests = 5;getOutstandingContainerRequests in interface DriverRuntimeProtocol.RuntimeStatusProtoOrBuilderpublic List<String> getContainerAllocationList()
repeated string container_allocation = 6;getContainerAllocationList in interface DriverRuntimeProtocol.RuntimeStatusProtoOrBuilderpublic int getContainerAllocationCount()
repeated string container_allocation = 6;getContainerAllocationCount in interface DriverRuntimeProtocol.RuntimeStatusProtoOrBuilderpublic String getContainerAllocation(int index)
repeated string container_allocation = 6;getContainerAllocation in interface DriverRuntimeProtocol.RuntimeStatusProtoOrBuilderpublic com.google.protobuf.ByteString getContainerAllocationBytes(int index)
repeated string container_allocation = 6;getContainerAllocationBytes in interface DriverRuntimeProtocol.RuntimeStatusProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessagepublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DriverRuntimeProtocol.RuntimeStatusProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DriverRuntimeProtocol.RuntimeStatusProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DriverRuntimeProtocol.RuntimeStatusProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DriverRuntimeProtocol.RuntimeStatusProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DriverRuntimeProtocol.RuntimeStatusProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.RuntimeStatusProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.RuntimeStatusProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.RuntimeStatusProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.RuntimeStatusProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.RuntimeStatusProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.RuntimeStatusProto.Builder newBuilder()
public DriverRuntimeProtocol.RuntimeStatusProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DriverRuntimeProtocol.RuntimeStatusProto.Builder newBuilder(DriverRuntimeProtocol.RuntimeStatusProto prototype)
public DriverRuntimeProtocol.RuntimeStatusProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteCopyright © 2015 The Apache Software Foundation. All rights reserved.