Package com.google.storage.v2
Class ObjectRangeData.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ObjectRangeData.Builder>
com.google.storage.v2.ObjectRangeData.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ObjectRangeDataOrBuilder,Cloneable
- Enclosing class:
- ObjectRangeData
public static final class ObjectRangeData.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ObjectRangeData.Builder>
implements ObjectRangeDataOrBuilder
Contains data and metadata for a range of an object.Protobuf type
google.storage.v2.ObjectRangeData-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()A portion of the data for the object.If set, indicates there are no more bytes to read for the given ReadRange.The `ReadRange` describes the content being returned with `read_id` set to the corresponding `ReadObjectRequest` in the stream.A portion of the data for the object.A portion of the data for the object.A portion of the data for the object.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIf set, indicates there are no more bytes to read for the given ReadRange.The `ReadRange` describes the content being returned with `read_id` set to the corresponding `ReadObjectRequest` in the stream.The `ReadRange` describes the content being returned with `read_id` set to the corresponding `ReadObjectRequest` in the stream.The `ReadRange` describes the content being returned with `read_id` set to the corresponding `ReadObjectRequest` in the stream.booleanA portion of the data for the object.booleanThe `ReadRange` describes the content being returned with `read_id` set to the corresponding `ReadObjectRequest` in the stream.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanA portion of the data for the object.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ObjectRangeData other) mergeReadRange(ReadRange value) The `ReadRange` describes the content being returned with `read_id` set to the corresponding `ReadObjectRequest` in the stream.A portion of the data for the object.setChecksummedData(ChecksummedData.Builder builderForValue) A portion of the data for the object.setRangeEnd(boolean value) If set, indicates there are no more bytes to read for the given ReadRange.setReadRange(ReadRange value) The `ReadRange` describes the content being returned with `read_id` set to the corresponding `ReadObjectRequest` in the stream.setReadRange(ReadRange.Builder builderForValue) The `ReadRange` describes the content being returned with `read_id` set to the corresponding `ReadObjectRequest` in the stream.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ObjectRangeData.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ObjectRangeData.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ObjectRangeData.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ObjectRangeData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ObjectRangeData.Builder>
-
mergeFrom
public ObjectRangeData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ObjectRangeData.Builder>- Throws:
IOException
-
hasChecksummedData
public boolean hasChecksummedData()A portion of the data for the object.
.google.storage.v2.ChecksummedData checksummed_data = 1;- Specified by:
hasChecksummedDatain interfaceObjectRangeDataOrBuilder- Returns:
- Whether the checksummedData field is set.
-
getChecksummedData
A portion of the data for the object.
.google.storage.v2.ChecksummedData checksummed_data = 1;- Specified by:
getChecksummedDatain interfaceObjectRangeDataOrBuilder- Returns:
- The checksummedData.
-
setChecksummedData
A portion of the data for the object.
.google.storage.v2.ChecksummedData checksummed_data = 1; -
setChecksummedData
A portion of the data for the object.
.google.storage.v2.ChecksummedData checksummed_data = 1; -
mergeChecksummedData
A portion of the data for the object.
.google.storage.v2.ChecksummedData checksummed_data = 1; -
clearChecksummedData
A portion of the data for the object.
.google.storage.v2.ChecksummedData checksummed_data = 1; -
getChecksummedDataBuilder
A portion of the data for the object.
.google.storage.v2.ChecksummedData checksummed_data = 1; -
getChecksummedDataOrBuilder
A portion of the data for the object.
.google.storage.v2.ChecksummedData checksummed_data = 1;- Specified by:
getChecksummedDataOrBuilderin interfaceObjectRangeDataOrBuilder
-
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 might 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;- Specified by:
hasReadRangein interfaceObjectRangeDataOrBuilder- Returns:
- Whether the readRange field is set.
-
getReadRange
The `ReadRange` describes the content being returned with `read_id` set to the corresponding `ReadObjectRequest` in the stream. Multiple `ObjectRangeData` messages might 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;- Specified by:
getReadRangein interfaceObjectRangeDataOrBuilder- Returns:
- The readRange.
-
setReadRange
The `ReadRange` describes the content being returned with `read_id` set to the corresponding `ReadObjectRequest` in the stream. Multiple `ObjectRangeData` messages might 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; -
setReadRange
The `ReadRange` describes the content being returned with `read_id` set to the corresponding `ReadObjectRequest` in the stream. Multiple `ObjectRangeData` messages might 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; -
mergeReadRange
The `ReadRange` describes the content being returned with `read_id` set to the corresponding `ReadObjectRequest` in the stream. Multiple `ObjectRangeData` messages might 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; -
clearReadRange
The `ReadRange` describes the content being returned with `read_id` set to the corresponding `ReadObjectRequest` in the stream. Multiple `ObjectRangeData` messages might 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; -
getReadRangeBuilder
The `ReadRange` describes the content being returned with `read_id` set to the corresponding `ReadObjectRequest` in the stream. Multiple `ObjectRangeData` messages might 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; -
getReadRangeOrBuilder
The `ReadRange` describes the content being returned with `read_id` set to the corresponding `ReadObjectRequest` in the stream. Multiple `ObjectRangeData` messages might 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;- Specified by:
getReadRangeOrBuilderin interfaceObjectRangeDataOrBuilder
-
getRangeEnd
public boolean getRangeEnd()If set, indicates there are no more bytes to read for the given ReadRange.
bool range_end = 3;- Specified by:
getRangeEndin interfaceObjectRangeDataOrBuilder- Returns:
- The rangeEnd.
-
setRangeEnd
If set, indicates there are no more bytes to read for the given ReadRange.
bool range_end = 3;- Parameters:
value- The rangeEnd to set.- Returns:
- This builder for chaining.
-
clearRangeEnd
If set, indicates there are no more bytes to read for the given ReadRange.
bool range_end = 3;- Returns:
- This builder for chaining.
-