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
Modifier and Type | Method and Description |
---|---|
ReadObjectResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ReadObjectResponse |
build() |
ReadObjectResponse |
buildPartial() |
ReadObjectResponse.Builder |
clear() |
ReadObjectResponse.Builder |
clearChecksummedData()
A portion of the data for the object.
|
ReadObjectResponse.Builder |
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.
|
ReadObjectResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ReadObjectResponse.Builder |
clearMetadata()
Metadata of the object whose media is being returned.
|
ReadObjectResponse.Builder |
clearObjectChecksums()
The checksums of the complete object.
|
ReadObjectResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ReadObjectResponse.Builder |
clone() |
ChecksummedData |
getChecksummedData()
A portion of the data for the object.
|
ChecksummedData.Builder |
getChecksummedDataBuilder()
A portion of the data for the object.
|
ChecksummedDataOrBuilder |
getChecksummedDataOrBuilder()
A portion of the data for the object.
|
ContentRange |
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.
|
ContentRange.Builder |
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.
|
ContentRangeOrBuilder |
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.
|
ReadObjectResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Object |
getMetadata()
Metadata of the object whose media is being returned.
|
Object.Builder |
getMetadataBuilder()
Metadata of the object whose media is being returned.
|
ObjectOrBuilder |
getMetadataOrBuilder()
Metadata of the object whose media is being returned.
|
ObjectChecksums |
getObjectChecksums()
The checksums of the complete object.
|
ObjectChecksums.Builder |
getObjectChecksumsBuilder()
The checksums of the complete object.
|
ObjectChecksumsOrBuilder |
getObjectChecksumsOrBuilder()
The checksums of the complete object.
|
boolean |
hasChecksummedData()
A portion of the data for the object.
|
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.
|
boolean |
hasMetadata()
Metadata of the object whose media is being returned.
|
boolean |
hasObjectChecksums()
The checksums of the complete object.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ReadObjectResponse.Builder |
mergeChecksummedData(ChecksummedData value)
A portion of the data for the object.
|
ReadObjectResponse.Builder |
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.
|
ReadObjectResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ReadObjectResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ReadObjectResponse.Builder |
mergeFrom(ReadObjectResponse other) |
ReadObjectResponse.Builder |
mergeMetadata(Object value)
Metadata of the object whose media is being returned.
|
ReadObjectResponse.Builder |
mergeObjectChecksums(ObjectChecksums value)
The checksums of the complete object.
|
ReadObjectResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ReadObjectResponse.Builder |
setChecksummedData(ChecksummedData.Builder builderForValue)
A portion of the data for the object.
|
ReadObjectResponse.Builder |
setChecksummedData(ChecksummedData value)
A portion of the data for the object.
|
ReadObjectResponse.Builder |
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.
|
ReadObjectResponse.Builder |
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.
|
ReadObjectResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ReadObjectResponse.Builder |
setMetadata(Object.Builder builderForValue)
Metadata of the object whose media is being returned.
|
ReadObjectResponse.Builder |
setMetadata(Object value)
Metadata of the object whose media is being returned.
|
ReadObjectResponse.Builder |
setObjectChecksums(ObjectChecksums.Builder builderForValue)
The checksums of the complete object.
|
ReadObjectResponse.Builder |
setObjectChecksums(ObjectChecksums value)
The checksums of the complete object.
|
ReadObjectResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ReadObjectResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
public ReadObjectResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
public ReadObjectResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ReadObjectResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ReadObjectResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ReadObjectResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
public ReadObjectResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
public ReadObjectResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
public ReadObjectResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
public ReadObjectResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
public ReadObjectResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
public ReadObjectResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ReadObjectResponse.Builder>
public ReadObjectResponse.Builder mergeFrom(ReadObjectResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
public ReadObjectResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ReadObjectResponse.Builder>
IOException
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;
hasChecksummedData
in interface ReadObjectResponseOrBuilder
public ChecksummedData 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;
getChecksummedData
in interface ReadObjectResponseOrBuilder
public ReadObjectResponse.Builder setChecksummedData(ChecksummedData value)
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;
public ReadObjectResponse.Builder setChecksummedData(ChecksummedData.Builder builderForValue)
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;
public ReadObjectResponse.Builder mergeChecksummedData(ChecksummedData value)
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;
public ReadObjectResponse.Builder 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;
public ChecksummedData.Builder 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;
public ChecksummedDataOrBuilder 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;
getChecksummedDataOrBuilder
in interface ReadObjectResponseOrBuilder
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;
hasObjectChecksums
in interface ReadObjectResponseOrBuilder
public ObjectChecksums 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;
getObjectChecksums
in interface ReadObjectResponseOrBuilder
public ReadObjectResponse.Builder setObjectChecksums(ObjectChecksums value)
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;
public ReadObjectResponse.Builder setObjectChecksums(ObjectChecksums.Builder builderForValue)
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;
public ReadObjectResponse.Builder mergeObjectChecksums(ObjectChecksums value)
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;
public ReadObjectResponse.Builder 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;
public ObjectChecksums.Builder 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;
public ObjectChecksumsOrBuilder 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;
getObjectChecksumsOrBuilder
in interface ReadObjectResponseOrBuilder
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;
hasContentRange
in interface ReadObjectResponseOrBuilder
public ContentRange 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;
getContentRange
in interface ReadObjectResponseOrBuilder
public ReadObjectResponse.Builder 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.
.google.storage.v2.ContentRange content_range = 3;
public ReadObjectResponse.Builder 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.
.google.storage.v2.ContentRange content_range = 3;
public ReadObjectResponse.Builder 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.
.google.storage.v2.ContentRange content_range = 3;
public ReadObjectResponse.Builder 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;
public ContentRange.Builder 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;
public ContentRangeOrBuilder 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;
getContentRangeOrBuilder
in interface ReadObjectResponseOrBuilder
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;
hasMetadata
in interface ReadObjectResponseOrBuilder
public Object 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;
getMetadata
in interface ReadObjectResponseOrBuilder
public ReadObjectResponse.Builder setMetadata(Object value)
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4;
public ReadObjectResponse.Builder setMetadata(Object.Builder builderForValue)
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4;
public ReadObjectResponse.Builder mergeMetadata(Object value)
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4;
public ReadObjectResponse.Builder 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;
public Object.Builder 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;
public ObjectOrBuilder 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;
getMetadataOrBuilder
in interface ReadObjectResponseOrBuilder
public final ReadObjectResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
public final ReadObjectResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.