Package com.google.storage.v2
Class ReadObjectResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
com.google.storage.v2.ReadObjectResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ReadObjectResponseOrBuilder,Cloneable
- Enclosing class:
- ReadObjectResponse
public static final class ReadObjectResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
implements ReadObjectResponseOrBuilder
Response message for ReadObject.Protobuf type
google.storage.v2.ReadObjectResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()A portion of the data for the object.If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Metadata of the object whose media is being returned.The checksums of the complete object.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()A portion of the data for the object.A portion of the data for the object.A portion of the data for the object.If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorMetadata of the object whose media is being returned.Metadata of the object whose media is being returned.Metadata of the object whose media is being returned.The checksums of the complete object.The checksums of the complete object.The checksums of the complete object.booleanA portion of the data for the object.booleanIf read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.booleanMetadata of the object whose media is being returned.booleanThe checksums of the complete object.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanA portion of the data for the object.mergeContentRange(ContentRange value) If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ReadObjectResponse other) mergeMetadata(Object value) Metadata of the object whose media is being returned.The checksums of the complete object.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) A portion of the data for the object.setChecksummedData(ChecksummedData.Builder builderForValue) A portion of the data for the object.setContentRange(ContentRange value) If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.setContentRange(ContentRange.Builder builderForValue) If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.setMetadata(Object value) Metadata of the object whose media is being returned.setMetadata(Object.Builder builderForValue) Metadata of the object whose media is being returned.The checksums of the complete object.setObjectChecksums(ObjectChecksums.Builder builderForValue) The checksums of the complete object.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.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.GeneratedMessageV3.Builder<ReadObjectResponse.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
-
setField
public ReadObjectResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
-
setRepeatedField
public ReadObjectResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
-
addRepeatedField
public ReadObjectResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReadObjectResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
-
mergeFrom
public ReadObjectResponse.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<ReadObjectResponse.Builder>- Throws:
IOException
-
hasChecksummedData
public boolean hasChecksummedData()A portion of the data for the object. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.
.google.storage.v2.ChecksummedData checksummed_data = 1;- Specified by:
hasChecksummedDatain interfaceReadObjectResponseOrBuilder- Returns:
- Whether the checksummedData field is set.
-
getChecksummedData
A portion of the data for the object. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.
.google.storage.v2.ChecksummedData checksummed_data = 1;- Specified by:
getChecksummedDatain interfaceReadObjectResponseOrBuilder- Returns:
- The checksummedData.
-
setChecksummedData
A portion of the data for the object. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.
.google.storage.v2.ChecksummedData checksummed_data = 1; -
setChecksummedData
A portion of the data for the object. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.
.google.storage.v2.ChecksummedData checksummed_data = 1; -
mergeChecksummedData
A portion of the data for the object. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.
.google.storage.v2.ChecksummedData checksummed_data = 1; -
clearChecksummedData
A portion of the data for the object. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.
.google.storage.v2.ChecksummedData checksummed_data = 1; -
getChecksummedDataBuilder
A portion of the data for the object. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.
.google.storage.v2.ChecksummedData checksummed_data = 1; -
getChecksummedDataOrBuilder
A portion of the data for the object. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.
.google.storage.v2.ChecksummedData checksummed_data = 1;- Specified by:
getChecksummedDataOrBuilderin interfaceReadObjectResponseOrBuilder
-
hasObjectChecksums
public boolean hasObjectChecksums()The checksums of the complete object. If the object is downloaded in full, the client should compute one of these checksums over the downloaded object and compare it against the value provided here.
.google.storage.v2.ObjectChecksums object_checksums = 2;- Specified by:
hasObjectChecksumsin interfaceReadObjectResponseOrBuilder- Returns:
- Whether the objectChecksums field is set.
-
getObjectChecksums
The checksums of the complete object. If the object is downloaded in full, the client should compute one of these checksums over the downloaded object and compare it against the value provided here.
.google.storage.v2.ObjectChecksums object_checksums = 2;- Specified by:
getObjectChecksumsin interfaceReadObjectResponseOrBuilder- Returns:
- The objectChecksums.
-
setObjectChecksums
The checksums of the complete object. If the object is downloaded in full, the client should compute one of these checksums over the downloaded object and compare it against the value provided here.
.google.storage.v2.ObjectChecksums object_checksums = 2; -
setObjectChecksums
The checksums of the complete object. If the object is downloaded in full, the client should compute one of these checksums over the downloaded object and compare it against the value provided here.
.google.storage.v2.ObjectChecksums object_checksums = 2; -
mergeObjectChecksums
The checksums of the complete object. If the object is downloaded in full, the client should compute one of these checksums over the downloaded object and compare it against the value provided here.
.google.storage.v2.ObjectChecksums object_checksums = 2; -
clearObjectChecksums
The checksums of the complete object. If the object is downloaded in full, the client should compute one of these checksums over the downloaded object and compare it against the value provided here.
.google.storage.v2.ObjectChecksums object_checksums = 2; -
getObjectChecksumsBuilder
The checksums of the complete object. If the object is downloaded in full, the client should compute one of these checksums over the downloaded object and compare it against the value provided here.
.google.storage.v2.ObjectChecksums object_checksums = 2; -
getObjectChecksumsOrBuilder
The checksums of the complete object. If the object is downloaded in full, the client should compute one of these checksums over the downloaded object and compare it against the value provided here.
.google.storage.v2.ObjectChecksums object_checksums = 2;- Specified by:
getObjectChecksumsOrBuilderin interfaceReadObjectResponseOrBuilder
-
hasContentRange
public boolean hasContentRange()If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.
.google.storage.v2.ContentRange content_range = 3;- Specified by:
hasContentRangein interfaceReadObjectResponseOrBuilder- Returns:
- Whether the contentRange field is set.
-
getContentRange
If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.
.google.storage.v2.ContentRange content_range = 3;- Specified by:
getContentRangein interfaceReadObjectResponseOrBuilder- Returns:
- The contentRange.
-
setContentRange
If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.
.google.storage.v2.ContentRange content_range = 3; -
setContentRange
If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.
.google.storage.v2.ContentRange content_range = 3; -
mergeContentRange
If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.
.google.storage.v2.ContentRange content_range = 3; -
clearContentRange
If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.
.google.storage.v2.ContentRange content_range = 3; -
getContentRangeBuilder
If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.
.google.storage.v2.ContentRange content_range = 3; -
getContentRangeOrBuilder
If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.
.google.storage.v2.ContentRange content_range = 3;- Specified by:
getContentRangeOrBuilderin interfaceReadObjectResponseOrBuilder
-
hasMetadata
public boolean hasMetadata()Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4;- Specified by:
hasMetadatain interfaceReadObjectResponseOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4;- Specified by:
getMetadatain interfaceReadObjectResponseOrBuilder- Returns:
- The metadata.
-
setMetadata
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4; -
setMetadata
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4; -
mergeMetadata
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4; -
clearMetadata
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4; -
getMetadataBuilder
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4; -
getMetadataOrBuilder
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4;- Specified by:
getMetadataOrBuilderin interfaceReadObjectResponseOrBuilder
-
setUnknownFields
public final ReadObjectResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
-
mergeUnknownFields
public final ReadObjectResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
-