Class ObjectRangeData (2.48.1)

public final class ObjectRangeData extends GeneratedMessageV3 implements ObjectRangeDataOrBuilder

Contains data and metadata for a range of an object.

Protobuf type google.storage.v2.ObjectRangeData

Static Fields

CHECKSUMMED_DATA_FIELD_NUMBER

public static final int CHECKSUMMED_DATA_FIELD_NUMBER
Field Value
Type Description
int

RANGE_END_FIELD_NUMBER

public static final int RANGE_END_FIELD_NUMBER
Field Value
Type Description
int

READ_RANGE_FIELD_NUMBER

public static final int READ_RANGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ObjectRangeData getDefaultInstance()
Returns
Type Description
ObjectRangeData

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ObjectRangeData.Builder newBuilder()
Returns
Type Description
ObjectRangeData.Builder

newBuilder(ObjectRangeData prototype)

public static ObjectRangeData.Builder newBuilder(ObjectRangeData prototype)
Parameter
Name Description
prototype ObjectRangeData
Returns
Type Description
ObjectRangeData.Builder

parseDelimitedFrom(InputStream input)

public static ObjectRangeData parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ObjectRangeData
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ObjectRangeData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectRangeData
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ObjectRangeData parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ObjectRangeData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ObjectRangeData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectRangeData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ObjectRangeData parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ObjectRangeData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ObjectRangeData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectRangeData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ObjectRangeData parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ObjectRangeData
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ObjectRangeData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectRangeData
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ObjectRangeData parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ObjectRangeData
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ObjectRangeData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectRangeData
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ObjectRangeData parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ObjectRangeData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ObjectRangeData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectRangeData
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ObjectRangeData> parser()
Returns
Type Description
Parser<ObjectRangeData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getChecksummedData()

public ChecksummedData getChecksummedData()

A portion of the data for the object.

.google.storage.v2.ChecksummedData checksummed_data = 1;

Returns
Type Description
ChecksummedData

The checksummedData.

getChecksummedDataOrBuilder()

public ChecksummedDataOrBuilder getChecksummedDataOrBuilder()

A portion of the data for the object.

.google.storage.v2.ChecksummedData checksummed_data = 1;

Returns
Type Description
ChecksummedDataOrBuilder

getDefaultInstanceForType()

public ObjectRangeData getDefaultInstanceForType()
Returns
Type Description
ObjectRangeData

getParserForType()

public Parser<ObjectRangeData> getParserForType()
Returns
Type Description
Parser<ObjectRangeData>
Overrides

getRangeEnd()

public boolean getRangeEnd()

If set, indicates there are no more bytes to read for the given ReadRange.

bool range_end = 3;

Returns
Type Description
boolean

The rangeEnd.

getReadRange()

public ReadRange getReadRange()

The ReadRange describes the content being returned with read_id set to the corresponding ReadObjectRequest in the stream. Multiple ObjectRangeData messages may have the same read_id but increasing offsets. ReadObjectResponse messages with the same read_id are guaranteed to be delivered in increasing offset order.

.google.storage.v2.ReadRange read_range = 2;

Returns
Type Description
ReadRange

The readRange.

getReadRangeOrBuilder()

public ReadRangeOrBuilder getReadRangeOrBuilder()

The ReadRange describes the content being returned with read_id set to the corresponding ReadObjectRequest in the stream. Multiple ObjectRangeData messages may have the same read_id but increasing offsets. ReadObjectResponse messages with the same read_id are guaranteed to be delivered in increasing offset order.

.google.storage.v2.ReadRange read_range = 2;

Returns
Type Description
ReadRangeOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasChecksummedData()

public boolean hasChecksummedData()

A portion of the data for the object.

.google.storage.v2.ChecksummedData checksummed_data = 1;

Returns
Type Description
boolean

Whether the checksummedData field is set.

hasReadRange()

public boolean hasReadRange()

The ReadRange describes the content being returned with read_id set to the corresponding ReadObjectRequest in the stream. Multiple ObjectRangeData messages may have the same read_id but increasing offsets. ReadObjectResponse messages with the same read_id are guaranteed to be delivered in increasing offset order.

.google.storage.v2.ReadRange read_range = 2;

Returns
Type Description
boolean

Whether the readRange field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ObjectRangeData.Builder newBuilderForType()
Returns
Type Description
ObjectRangeData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ObjectRangeData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ObjectRangeData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ObjectRangeData.Builder toBuilder()
Returns
Type Description
ObjectRangeData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException