public static final class CatalogProtos.FileFragmentProto extends com.google.protobuf.GeneratedMessage implements CatalogProtos.FileFragmentProtoOrBuilder
FileFragmentProto
Modifier and Type | Class and Description |
---|---|
static class |
CatalogProtos.FileFragmentProto.Builder
Protobuf type
FileFragmentProto |
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 |
DISKIDS_FIELD_NUMBER |
static int |
HOSTS_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
LENGTH_FIELD_NUMBER |
static com.google.protobuf.Parser<CatalogProtos.FileFragmentProto> |
PARSER |
static int |
PATH_FIELD_NUMBER |
static int |
STARTOFFSET_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static CatalogProtos.FileFragmentProto |
getDefaultInstance() |
CatalogProtos.FileFragmentProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getDiskIds(int index)
repeated int32 diskIds = 8; |
int |
getDiskIdsCount()
repeated int32 diskIds = 8; |
List<Integer> |
getDiskIdsList()
repeated int32 diskIds = 8; |
String |
getHosts(int index)
repeated string hosts = 7; |
com.google.protobuf.ByteString |
getHostsBytes(int index)
repeated string hosts = 7; |
int |
getHostsCount()
repeated string hosts = 7; |
List<String> |
getHostsList()
repeated string hosts = 7; |
String |
getId()
required string id = 1; |
com.google.protobuf.ByteString |
getIdBytes()
required string id = 1; |
long |
getLength()
required int64 length = 4; |
com.google.protobuf.Parser<CatalogProtos.FileFragmentProto> |
getParserForType() |
String |
getPath()
required string path = 2; |
com.google.protobuf.ByteString |
getPathBytes()
required string path = 2; |
int |
getSerializedSize() |
long |
getStartOffset()
required int64 startOffset = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasId()
required string id = 1; |
boolean |
hasLength()
required int64 length = 4; |
boolean |
hasPath()
required string path = 2; |
boolean |
hasStartOffset()
required int64 startOffset = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CatalogProtos.FileFragmentProto.Builder |
newBuilder() |
static CatalogProtos.FileFragmentProto.Builder |
newBuilder(CatalogProtos.FileFragmentProto prototype) |
CatalogProtos.FileFragmentProto.Builder |
newBuilderForType() |
protected CatalogProtos.FileFragmentProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static CatalogProtos.FileFragmentProto |
parseDelimitedFrom(InputStream input) |
static CatalogProtos.FileFragmentProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CatalogProtos.FileFragmentProto |
parseFrom(byte[] data) |
static CatalogProtos.FileFragmentProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CatalogProtos.FileFragmentProto |
parseFrom(com.google.protobuf.ByteString data) |
static CatalogProtos.FileFragmentProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CatalogProtos.FileFragmentProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CatalogProtos.FileFragmentProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CatalogProtos.FileFragmentProto |
parseFrom(InputStream input) |
static CatalogProtos.FileFragmentProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CatalogProtos.FileFragmentProto.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<CatalogProtos.FileFragmentProto> PARSER
public static final int ID_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
public static final int STARTOFFSET_FIELD_NUMBER
public static final int LENGTH_FIELD_NUMBER
public static final int HOSTS_FIELD_NUMBER
public static final int DISKIDS_FIELD_NUMBER
public static CatalogProtos.FileFragmentProto getDefaultInstance()
public CatalogProtos.FileFragmentProto 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<CatalogProtos.FileFragmentProto> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasId()
required string id = 1;
hasId
in interface CatalogProtos.FileFragmentProtoOrBuilder
public String getId()
required string id = 1;
getId
in interface CatalogProtos.FileFragmentProtoOrBuilder
public com.google.protobuf.ByteString getIdBytes()
required string id = 1;
getIdBytes
in interface CatalogProtos.FileFragmentProtoOrBuilder
public boolean hasPath()
required string path = 2;
hasPath
in interface CatalogProtos.FileFragmentProtoOrBuilder
public String getPath()
required string path = 2;
getPath
in interface CatalogProtos.FileFragmentProtoOrBuilder
public com.google.protobuf.ByteString getPathBytes()
required string path = 2;
getPathBytes
in interface CatalogProtos.FileFragmentProtoOrBuilder
public boolean hasStartOffset()
required int64 startOffset = 3;
hasStartOffset
in interface CatalogProtos.FileFragmentProtoOrBuilder
public long getStartOffset()
required int64 startOffset = 3;
getStartOffset
in interface CatalogProtos.FileFragmentProtoOrBuilder
public boolean hasLength()
required int64 length = 4;
hasLength
in interface CatalogProtos.FileFragmentProtoOrBuilder
public long getLength()
required int64 length = 4;
getLength
in interface CatalogProtos.FileFragmentProtoOrBuilder
public List<String> getHostsList()
repeated string hosts = 7;
getHostsList
in interface CatalogProtos.FileFragmentProtoOrBuilder
public int getHostsCount()
repeated string hosts = 7;
getHostsCount
in interface CatalogProtos.FileFragmentProtoOrBuilder
public String getHosts(int index)
repeated string hosts = 7;
getHosts
in interface CatalogProtos.FileFragmentProtoOrBuilder
public com.google.protobuf.ByteString getHostsBytes(int index)
repeated string hosts = 7;
getHostsBytes
in interface CatalogProtos.FileFragmentProtoOrBuilder
public List<Integer> getDiskIdsList()
repeated int32 diskIds = 8;
getDiskIdsList
in interface CatalogProtos.FileFragmentProtoOrBuilder
public int getDiskIdsCount()
repeated int32 diskIds = 8;
getDiskIdsCount
in interface CatalogProtos.FileFragmentProtoOrBuilder
public int getDiskIds(int index)
repeated int32 diskIds = 8;
getDiskIds
in interface CatalogProtos.FileFragmentProtoOrBuilder
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 CatalogProtos.FileFragmentProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CatalogProtos.FileFragmentProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CatalogProtos.FileFragmentProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CatalogProtos.FileFragmentProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CatalogProtos.FileFragmentProto parseFrom(InputStream input) throws IOException
IOException
public static CatalogProtos.FileFragmentProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CatalogProtos.FileFragmentProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static CatalogProtos.FileFragmentProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CatalogProtos.FileFragmentProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static CatalogProtos.FileFragmentProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CatalogProtos.FileFragmentProto.Builder newBuilder()
public CatalogProtos.FileFragmentProto.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static CatalogProtos.FileFragmentProto.Builder newBuilder(CatalogProtos.FileFragmentProto prototype)
public CatalogProtos.FileFragmentProto.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected CatalogProtos.FileFragmentProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2014 Apache Software Foundation. All Rights Reserved.