public final class ContentRange extends GeneratedMessageV3 implements ContentRangeOrBuilder
Specifies a requested range of bytes to download.
Protobuf type google.storage.v2.ContentRange
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
COMPLETE_LENGTH_FIELD_NUMBER
public static final int COMPLETE_LENGTH_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
END_FIELD_NUMBER
public static final int END_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
START_FIELD_NUMBER
public static final int START_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ContentRange getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ContentRange.Builder newBuilder()
newBuilder(ContentRange prototype)
public static ContentRange.Builder newBuilder(ContentRange prototype)
parseDelimitedFrom(InputStream input)
public static ContentRange parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ContentRange parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContentRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ContentRange parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContentRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static ContentRange parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static ContentRange parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ContentRange parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContentRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ContentRange> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCompleteLength()
public long getCompleteLength()
The complete length of the object data.
int64 complete_length = 3;
Returns |
Type |
Description |
long |
The completeLength.
|
getDefaultInstanceForType()
public ContentRange getDefaultInstanceForType()
getEnd()
The ending offset of the object data.
int64 end = 2;
Returns |
Type |
Description |
long |
The end.
|
getParserForType()
public Parser<ContentRange> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStart()
The starting offset of the object data.
int64 start = 1;
Returns |
Type |
Description |
long |
The start.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ContentRange.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContentRange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ContentRange.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides