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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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 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 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 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 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 boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ReadObjectResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ReadObjectResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ReadObjectResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ReadObjectResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ReadObjectResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ReadObjectResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ReadObjectResponse parseFrom(InputStream input) throws IOException
IOException
public static ReadObjectResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ReadObjectResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ReadObjectResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ReadObjectResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ReadObjectResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ReadObjectResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ReadObjectResponse.Builder newBuilder()
public static ReadObjectResponse.Builder newBuilder(ReadObjectResponse prototype)
public ReadObjectResponse.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ReadObjectResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static ReadObjectResponse getDefaultInstance()
public static com.google.protobuf.Parser<ReadObjectResponse> parser()
public com.google.protobuf.Parser<ReadObjectResponse> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ReadObjectResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023 Google LLC. All rights reserved.