public interface ReadObjectRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getBucket()
The name of the bucket containing the object to read.
|
com.google.protobuf.ByteString |
getBucketBytes()
The name of the bucket containing the object to read.
|
CommonObjectRequestParams |
getCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
|
CommonObjectRequestParamsOrBuilder |
getCommonObjectRequestParamsOrBuilder()
A set of parameters common to Storage API requests concerning an object.
|
CommonRequestParams |
getCommonRequestParams()
A set of parameters common to all Storage API requests.
|
CommonRequestParamsOrBuilder |
getCommonRequestParamsOrBuilder()
A set of parameters common to all Storage API requests.
|
long |
getGeneration()
If present, selects a specific revision of this object (as opposed
to the latest version, the default).
|
long |
getIfGenerationMatch()
Makes the operation conditional on whether the object's current generation
matches the given value.
|
long |
getIfGenerationNotMatch()
Makes the operation conditional on whether the object's current generation
does not match the given value.
|
long |
getIfMetagenerationMatch()
Makes the operation conditional on whether the object's current
metageneration matches the given value.
|
long |
getIfMetagenerationNotMatch()
Makes the operation conditional on whether the object's current
metageneration does not match the given value.
|
String |
getObject()
The name of the object to read.
|
com.google.protobuf.ByteString |
getObjectBytes()
The name of the object to read.
|
long |
getReadLimit()
The maximum number of `data` bytes the server is allowed to return in the
sum of all `Object` messages.
|
com.google.protobuf.FieldMask |
getReadMask()
Mask specifying which fields to read.
|
com.google.protobuf.FieldMaskOrBuilder |
getReadMaskOrBuilder()
Mask specifying which fields to read.
|
long |
getReadOffset()
The offset for the first byte to return in the read, relative to the start
of the object.
|
boolean |
hasCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
|
boolean |
hasCommonRequestParams()
A set of parameters common to all Storage API requests.
|
boolean |
hasIfGenerationMatch()
Makes the operation conditional on whether the object's current generation
matches the given value.
|
boolean |
hasIfGenerationNotMatch()
Makes the operation conditional on whether the object's current generation
does not match the given value.
|
boolean |
hasIfMetagenerationMatch()
Makes the operation conditional on whether the object's current
metageneration matches the given value.
|
boolean |
hasIfMetagenerationNotMatch()
Makes the operation conditional on whether the object's current
metageneration does not match the given value.
|
boolean |
hasReadMask()
Mask specifying which fields to read.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getBucket()
The name of the bucket containing the object to read.
string bucket = 1;com.google.protobuf.ByteString getBucketBytes()
The name of the bucket containing the object to read.
string bucket = 1;String getObject()
The name of the object to read.
string object = 2;com.google.protobuf.ByteString getObjectBytes()
The name of the object to read.
string object = 2;long getGeneration()
If present, selects a specific revision of this object (as opposed to the latest version, the default).
int64 generation = 3;long getReadOffset()
The offset for the first byte to return in the read, relative to the start of the object. A negative `read_offset` value will be interpreted as the number of bytes back from the end of the object to be returned. For example, if an object's length is 15 bytes, a ReadObjectRequest with `read_offset` = -5 and `read_limit` = 3 would return bytes 10 through 12 of the object. Requesting a negative offset whose magnitude is larger than the size of the object will result in an error.
int64 read_offset = 4;long getReadLimit()
The maximum number of `data` bytes the server is allowed to return in the sum of all `Object` messages. A `read_limit` of zero indicates that there is no limit, and a negative `read_limit` will cause an error. If the stream returns fewer bytes than allowed by the `read_limit` and no error occurred, the stream includes all data from the `read_offset` to the end of the resource.
int64 read_limit = 5;boolean hasIfGenerationMatch()
Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
optional int64 if_generation_match = 6;long getIfGenerationMatch()
Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
optional int64 if_generation_match = 6;boolean hasIfGenerationNotMatch()
Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.
optional int64 if_generation_not_match = 7;long getIfGenerationNotMatch()
Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.
optional int64 if_generation_not_match = 7;boolean hasIfMetagenerationMatch()
Makes the operation conditional on whether the object's current metageneration matches the given value.
optional int64 if_metageneration_match = 8;long getIfMetagenerationMatch()
Makes the operation conditional on whether the object's current metageneration matches the given value.
optional int64 if_metageneration_match = 8;boolean hasIfMetagenerationNotMatch()
Makes the operation conditional on whether the object's current metageneration does not match the given value.
optional int64 if_metageneration_not_match = 9;long getIfMetagenerationNotMatch()
Makes the operation conditional on whether the object's current metageneration does not match the given value.
optional int64 if_metageneration_not_match = 9;boolean hasCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 10;CommonObjectRequestParams getCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 10;CommonObjectRequestParamsOrBuilder getCommonObjectRequestParamsOrBuilder()
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 10;boolean hasCommonRequestParams()
A set of parameters common to all Storage API requests.
.google.storage.v2.CommonRequestParams common_request_params = 11;CommonRequestParams getCommonRequestParams()
A set of parameters common to all Storage API requests.
.google.storage.v2.CommonRequestParams common_request_params = 11;CommonRequestParamsOrBuilder getCommonRequestParamsOrBuilder()
A set of parameters common to all Storage API requests.
.google.storage.v2.CommonRequestParams common_request_params = 11;boolean hasReadMask()
Mask specifying which fields to read. The checksummed_data field and its children will always be present. If no mask is specified, will default to all fields except metadata.owner and metadata.acl. * may be used to mean "all fields".
optional .google.protobuf.FieldMask read_mask = 12;com.google.protobuf.FieldMask getReadMask()
Mask specifying which fields to read. The checksummed_data field and its children will always be present. If no mask is specified, will default to all fields except metadata.owner and metadata.acl. * may be used to mean "all fields".
optional .google.protobuf.FieldMask read_mask = 12;com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder()
Mask specifying which fields to read. The checksummed_data field and its children will always be present. If no mask is specified, will default to all fields except metadata.owner and metadata.acl. * may be used to mean "all fields".
optional .google.protobuf.FieldMask read_mask = 12;Copyright © 2021 Google LLC. All rights reserved.