public static final class YarnProtos.ContainerStatusProto extends com.google.protobuf.GeneratedMessage implements YarnProtos.ContainerStatusProtoOrBuilder
hadoop.yarn.ContainerStatusProto
Modifier and Type | Class and Description |
---|---|
static class |
YarnProtos.ContainerStatusProto.Builder
Protobuf type
hadoop.yarn.ContainerStatusProto |
com.google.protobuf.GeneratedMessage.BuilderParent, 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_ID_FIELD_NUMBER |
static int |
DIAGNOSTICS_FIELD_NUMBER |
static int |
EXIT_STATUS_FIELD_NUMBER |
static com.google.protobuf.Parser<YarnProtos.ContainerStatusProto> |
PARSER |
static int |
STATE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
YarnProtos.ContainerIdProto |
getContainerId()
optional .hadoop.yarn.ContainerIdProto container_id = 1; |
YarnProtos.ContainerIdProtoOrBuilder |
getContainerIdOrBuilder()
optional .hadoop.yarn.ContainerIdProto container_id = 1; |
static YarnProtos.ContainerStatusProto |
getDefaultInstance() |
YarnProtos.ContainerStatusProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDiagnostics()
optional string diagnostics = 3 [default = "N/A"]; |
com.google.protobuf.ByteString |
getDiagnosticsBytes()
optional string diagnostics = 3 [default = "N/A"]; |
int |
getExitStatus()
optional int32 exit_status = 4 [default = -1000]; |
com.google.protobuf.Parser<YarnProtos.ContainerStatusProto> |
getParserForType() |
int |
getSerializedSize() |
YarnProtos.ContainerStateProto |
getState()
optional .hadoop.yarn.ContainerStateProto state = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasContainerId()
optional .hadoop.yarn.ContainerIdProto container_id = 1; |
boolean |
hasDiagnostics()
optional string diagnostics = 3 [default = "N/A"]; |
boolean |
hasExitStatus()
optional int32 exit_status = 4 [default = -1000]; |
int |
hashCode() |
boolean |
hasState()
optional .hadoop.yarn.ContainerStateProto state = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static YarnProtos.ContainerStatusProto.Builder |
newBuilder() |
static YarnProtos.ContainerStatusProto.Builder |
newBuilder(YarnProtos.ContainerStatusProto prototype) |
YarnProtos.ContainerStatusProto.Builder |
newBuilderForType() |
protected YarnProtos.ContainerStatusProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static YarnProtos.ContainerStatusProto |
parseDelimitedFrom(InputStream input) |
static YarnProtos.ContainerStatusProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnProtos.ContainerStatusProto |
parseFrom(byte[] data) |
static YarnProtos.ContainerStatusProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnProtos.ContainerStatusProto |
parseFrom(com.google.protobuf.ByteString data) |
static YarnProtos.ContainerStatusProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnProtos.ContainerStatusProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static YarnProtos.ContainerStatusProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnProtos.ContainerStatusProto |
parseFrom(InputStream input) |
static YarnProtos.ContainerStatusProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
YarnProtos.ContainerStatusProto.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<YarnProtos.ContainerStatusProto> PARSER
public static final int CONTAINER_ID_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int DIAGNOSTICS_FIELD_NUMBER
public static final int EXIT_STATUS_FIELD_NUMBER
public static YarnProtos.ContainerStatusProto getDefaultInstance()
public YarnProtos.ContainerStatusProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<YarnProtos.ContainerStatusProto> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasContainerId()
optional .hadoop.yarn.ContainerIdProto container_id = 1;
hasContainerId
in interface YarnProtos.ContainerStatusProtoOrBuilder
public YarnProtos.ContainerIdProto getContainerId()
optional .hadoop.yarn.ContainerIdProto container_id = 1;
getContainerId
in interface YarnProtos.ContainerStatusProtoOrBuilder
public YarnProtos.ContainerIdProtoOrBuilder getContainerIdOrBuilder()
optional .hadoop.yarn.ContainerIdProto container_id = 1;
getContainerIdOrBuilder
in interface YarnProtos.ContainerStatusProtoOrBuilder
public boolean hasState()
optional .hadoop.yarn.ContainerStateProto state = 2;
hasState
in interface YarnProtos.ContainerStatusProtoOrBuilder
public YarnProtos.ContainerStateProto getState()
optional .hadoop.yarn.ContainerStateProto state = 2;
getState
in interface YarnProtos.ContainerStatusProtoOrBuilder
public boolean hasDiagnostics()
optional string diagnostics = 3 [default = "N/A"];
hasDiagnostics
in interface YarnProtos.ContainerStatusProtoOrBuilder
public String getDiagnostics()
optional string diagnostics = 3 [default = "N/A"];
getDiagnostics
in interface YarnProtos.ContainerStatusProtoOrBuilder
public com.google.protobuf.ByteString getDiagnosticsBytes()
optional string diagnostics = 3 [default = "N/A"];
getDiagnosticsBytes
in interface YarnProtos.ContainerStatusProtoOrBuilder
public boolean hasExitStatus()
optional int32 exit_status = 4 [default = -1000];
hasExitStatus
in interface YarnProtos.ContainerStatusProtoOrBuilder
public int getExitStatus()
optional int32 exit_status = 4 [default = -1000];
getExitStatus
in interface YarnProtos.ContainerStatusProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static YarnProtos.ContainerStatusProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static YarnProtos.ContainerStatusProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static YarnProtos.ContainerStatusProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static YarnProtos.ContainerStatusProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static YarnProtos.ContainerStatusProto parseFrom(InputStream input) throws IOException
IOException
public static YarnProtos.ContainerStatusProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static YarnProtos.ContainerStatusProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static YarnProtos.ContainerStatusProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static YarnProtos.ContainerStatusProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static YarnProtos.ContainerStatusProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static YarnProtos.ContainerStatusProto.Builder newBuilder()
public YarnProtos.ContainerStatusProto.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static YarnProtos.ContainerStatusProto.Builder newBuilder(YarnProtos.ContainerStatusProto prototype)
public YarnProtos.ContainerStatusProto.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected YarnProtos.ContainerStatusProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013 Apache Software Foundation. All rights reserved.