public static final class YarnProtos.LocalResourceProto extends com.google.protobuf.GeneratedMessage implements YarnProtos.LocalResourceProtoOrBuilder
hadoop.yarn.LocalResourceProto
Modifier and Type | Class and Description |
---|---|
static class |
YarnProtos.LocalResourceProto.Builder
Protobuf type
hadoop.yarn.LocalResourceProto |
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 com.google.protobuf.Parser<YarnProtos.LocalResourceProto> |
PARSER |
static int |
PATTERN_FIELD_NUMBER |
static int |
RESOURCE_FIELD_NUMBER |
static int |
SIZE_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
VISIBILITY_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static YarnProtos.LocalResourceProto |
getDefaultInstance() |
YarnProtos.LocalResourceProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<YarnProtos.LocalResourceProto> |
getParserForType() |
String |
getPattern()
optional string pattern = 6; |
com.google.protobuf.ByteString |
getPatternBytes()
optional string pattern = 6; |
YarnProtos.URLProto |
getResource()
optional .hadoop.yarn.URLProto resource = 1; |
YarnProtos.URLProtoOrBuilder |
getResourceOrBuilder()
optional .hadoop.yarn.URLProto resource = 1; |
int |
getSerializedSize() |
long |
getSize()
optional int64 size = 2; |
long |
getTimestamp()
optional int64 timestamp = 3; |
YarnProtos.LocalResourceTypeProto |
getType()
optional .hadoop.yarn.LocalResourceTypeProto type = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
YarnProtos.LocalResourceVisibilityProto |
getVisibility()
optional .hadoop.yarn.LocalResourceVisibilityProto visibility = 5; |
int |
hashCode() |
boolean |
hasPattern()
optional string pattern = 6; |
boolean |
hasResource()
optional .hadoop.yarn.URLProto resource = 1; |
boolean |
hasSize()
optional int64 size = 2; |
boolean |
hasTimestamp()
optional int64 timestamp = 3; |
boolean |
hasType()
optional .hadoop.yarn.LocalResourceTypeProto type = 4; |
boolean |
hasVisibility()
optional .hadoop.yarn.LocalResourceVisibilityProto visibility = 5; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static YarnProtos.LocalResourceProto.Builder |
newBuilder() |
static YarnProtos.LocalResourceProto.Builder |
newBuilder(YarnProtos.LocalResourceProto prototype) |
YarnProtos.LocalResourceProto.Builder |
newBuilderForType() |
protected YarnProtos.LocalResourceProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static YarnProtos.LocalResourceProto |
parseDelimitedFrom(InputStream input) |
static YarnProtos.LocalResourceProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnProtos.LocalResourceProto |
parseFrom(byte[] data) |
static YarnProtos.LocalResourceProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnProtos.LocalResourceProto |
parseFrom(com.google.protobuf.ByteString data) |
static YarnProtos.LocalResourceProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnProtos.LocalResourceProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static YarnProtos.LocalResourceProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnProtos.LocalResourceProto |
parseFrom(InputStream input) |
static YarnProtos.LocalResourceProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
YarnProtos.LocalResourceProto.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.LocalResourceProto> PARSER
public static final int RESOURCE_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int VISIBILITY_FIELD_NUMBER
public static final int PATTERN_FIELD_NUMBER
public static YarnProtos.LocalResourceProto getDefaultInstance()
public YarnProtos.LocalResourceProto 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.LocalResourceProto> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasResource()
optional .hadoop.yarn.URLProto resource = 1;
hasResource
in interface YarnProtos.LocalResourceProtoOrBuilder
public YarnProtos.URLProto getResource()
optional .hadoop.yarn.URLProto resource = 1;
getResource
in interface YarnProtos.LocalResourceProtoOrBuilder
public YarnProtos.URLProtoOrBuilder getResourceOrBuilder()
optional .hadoop.yarn.URLProto resource = 1;
getResourceOrBuilder
in interface YarnProtos.LocalResourceProtoOrBuilder
public boolean hasSize()
optional int64 size = 2;
hasSize
in interface YarnProtos.LocalResourceProtoOrBuilder
public long getSize()
optional int64 size = 2;
getSize
in interface YarnProtos.LocalResourceProtoOrBuilder
public boolean hasTimestamp()
optional int64 timestamp = 3;
hasTimestamp
in interface YarnProtos.LocalResourceProtoOrBuilder
public long getTimestamp()
optional int64 timestamp = 3;
getTimestamp
in interface YarnProtos.LocalResourceProtoOrBuilder
public boolean hasType()
optional .hadoop.yarn.LocalResourceTypeProto type = 4;
hasType
in interface YarnProtos.LocalResourceProtoOrBuilder
public YarnProtos.LocalResourceTypeProto getType()
optional .hadoop.yarn.LocalResourceTypeProto type = 4;
getType
in interface YarnProtos.LocalResourceProtoOrBuilder
public boolean hasVisibility()
optional .hadoop.yarn.LocalResourceVisibilityProto visibility = 5;
hasVisibility
in interface YarnProtos.LocalResourceProtoOrBuilder
public YarnProtos.LocalResourceVisibilityProto getVisibility()
optional .hadoop.yarn.LocalResourceVisibilityProto visibility = 5;
getVisibility
in interface YarnProtos.LocalResourceProtoOrBuilder
public boolean hasPattern()
optional string pattern = 6;
hasPattern
in interface YarnProtos.LocalResourceProtoOrBuilder
public String getPattern()
optional string pattern = 6;
getPattern
in interface YarnProtos.LocalResourceProtoOrBuilder
public com.google.protobuf.ByteString getPatternBytes()
optional string pattern = 6;
getPatternBytes
in interface YarnProtos.LocalResourceProtoOrBuilder
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.LocalResourceProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static YarnProtos.LocalResourceProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static YarnProtos.LocalResourceProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static YarnProtos.LocalResourceProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static YarnProtos.LocalResourceProto parseFrom(InputStream input) throws IOException
IOException
public static YarnProtos.LocalResourceProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static YarnProtos.LocalResourceProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static YarnProtos.LocalResourceProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static YarnProtos.LocalResourceProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static YarnProtos.LocalResourceProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static YarnProtos.LocalResourceProto.Builder newBuilder()
public YarnProtos.LocalResourceProto.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static YarnProtos.LocalResourceProto.Builder newBuilder(YarnProtos.LocalResourceProto prototype)
public YarnProtos.LocalResourceProto.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected YarnProtos.LocalResourceProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013 Apache Software Foundation. All rights reserved.