public final class ReadObjectResponse extends com.google.protobuf.GeneratedMessageV3 implements ReadObjectResponseOrBuilder
Response message for ReadObject.Protobuf type
google.storage.v2.ReadObjectResponse| Modifier and Type | Class and Description |
|---|---|
static class |
ReadObjectResponse.Builder
Response message for ReadObject.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CHECKSUMMED_DATA_FIELD_NUMBER |
static int |
CONTENT_RANGE_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
OBJECT_CHECKSUMS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ChecksummedData |
getChecksummedData()
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.
|
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.
|
static ReadObjectResponse |
getDefaultInstance() |
ReadObjectResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Object |
getMetadata()
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.
|
ObjectChecksumsOrBuilder |
getObjectChecksumsOrBuilder()
The checksums of the complete object.
|
com.google.protobuf.Parser<ReadObjectResponse> |
getParserForType() |
int |
getSerializedSize() |
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.
|
int |
hashCode() |
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() |
static ReadObjectResponse.Builder |
newBuilder() |
static ReadObjectResponse.Builder |
newBuilder(ReadObjectResponse prototype) |
ReadObjectResponse.Builder |
newBuilderForType() |
protected ReadObjectResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ReadObjectResponse |
parseDelimitedFrom(InputStream input) |
static ReadObjectResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadObjectResponse |
parseFrom(byte[] data) |
static ReadObjectResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadObjectResponse |
parseFrom(ByteBuffer data) |
static ReadObjectResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadObjectResponse |
parseFrom(com.google.protobuf.ByteString data) |
static ReadObjectResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadObjectResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ReadObjectResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadObjectResponse |
parseFrom(InputStream input) |
static ReadObjectResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ReadObjectResponse> |
parser() |
ReadObjectResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CHECKSUMMED_DATA_FIELD_NUMBER
public static final int OBJECT_CHECKSUMS_FIELD_NUMBER
public static final int CONTENT_RANGE_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 ReadObjectResponseOrBuilderpublic 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 ReadObjectResponseOrBuilderpublic 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 ReadObjectResponseOrBuilderpublic 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 ReadObjectResponseOrBuilderpublic 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 ReadObjectResponseOrBuilderpublic 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 ReadObjectResponseOrBuilderpublic 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 ReadObjectResponseOrBuilderpublic 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 ReadObjectResponseOrBuilderpublic 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 ReadObjectResponseOrBuilderpublic 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 ReadObjectResponseOrBuilderpublic 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 ReadObjectResponseOrBuilderpublic 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 ReadObjectResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ReadObjectResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadObjectResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadObjectResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadObjectResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadObjectResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadObjectResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadObjectResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static ReadObjectResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReadObjectResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ReadObjectResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReadObjectResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ReadObjectResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ReadObjectResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ReadObjectResponse.Builder newBuilder()
public static ReadObjectResponse.Builder newBuilder(ReadObjectResponse prototype)
public ReadObjectResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ReadObjectResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ReadObjectResponse getDefaultInstance()
public static com.google.protobuf.Parser<ReadObjectResponse> parser()
public com.google.protobuf.Parser<ReadObjectResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ReadObjectResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.