Package com.google.storage.v2
Interface GetBucketRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetBucketRequest,GetBucketRequest.Builder
@Generated
public interface GetBucketRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongIf set, only gets the bucket metadata if its metageneration matches this value.longIf set, and if the bucket's current metageneration matches the specified value, the request returns an error.getName()Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.FieldMaskMask specifying which fields to read.com.google.protobuf.FieldMaskOrBuilderMask specifying which fields to read.booleanIf set, only gets the bucket metadata if its metageneration matches this value.booleanIf set, and if the bucket's current metageneration matches the specified value, the request returns an error.booleanMask specifying which fields to read.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Required. Name of a bucket.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required. Name of a bucket.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
hasIfMetagenerationMatch
boolean hasIfMetagenerationMatch()If set, only gets the bucket metadata if its metageneration matches this value.
optional int64 if_metageneration_match = 2;- Returns:
- Whether the ifMetagenerationMatch field is set.
-
getIfMetagenerationMatch
long getIfMetagenerationMatch()If set, only gets the bucket metadata if its metageneration matches this value.
optional int64 if_metageneration_match = 2;- Returns:
- The ifMetagenerationMatch.
-
hasIfMetagenerationNotMatch
boolean hasIfMetagenerationNotMatch()If set, and if the bucket's current metageneration matches the specified value, the request returns an error.
optional int64 if_metageneration_not_match = 3;- Returns:
- Whether the ifMetagenerationNotMatch field is set.
-
getIfMetagenerationNotMatch
long getIfMetagenerationNotMatch()If set, and if the bucket's current metageneration matches the specified value, the request returns an error.
optional int64 if_metageneration_not_match = 3;- Returns:
- The ifMetagenerationNotMatch.
-
hasReadMask
boolean hasReadMask()Mask specifying which fields to read. A `*` field might be used to indicate all fields. If no mask is specified, it defaults to all fields.
optional .google.protobuf.FieldMask read_mask = 5;- Returns:
- Whether the readMask field is set.
-
getReadMask
com.google.protobuf.FieldMask getReadMask()Mask specifying which fields to read. A `*` field might be used to indicate all fields. If no mask is specified, it defaults to all fields.
optional .google.protobuf.FieldMask read_mask = 5;- Returns:
- The readMask.
-
getReadMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder()Mask specifying which fields to read. A `*` field might be used to indicate all fields. If no mask is specified, it defaults to all fields.
optional .google.protobuf.FieldMask read_mask = 5;
-