Interface GetBucketRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GetBucketRequest, GetBucketRequest.Builder

public interface GetBucketRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    If set, and if the bucket's current metageneration does not match the specified value, the request will return an error.
    long
    If set, and if the bucket's current metageneration matches the specified value, the request will return an error.
    Required.
    com.google.protobuf.ByteString
    Required.
    com.google.protobuf.FieldMask
    Mask specifying which fields to read.
    com.google.protobuf.FieldMaskOrBuilder
    Mask specifying which fields to read.
    boolean
    If set, and if the bucket's current metageneration does not match the specified value, the request will return an error.
    boolean
    If set, and if the bucket's current metageneration matches the specified value, the request will return an error.
    boolean
    Mask specifying which fields to read.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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, and if the bucket's current metageneration does not match the
       specified value, the request will return an error.
       
      optional int64 if_metageneration_match = 2;
      Returns:
      Whether the ifMetagenerationMatch field is set.
    • getIfMetagenerationMatch

      long getIfMetagenerationMatch()
       If set, and if the bucket's current metageneration does not match the
       specified value, the request will return an error.
       
      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 will return 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 will return an error.
       
      optional int64 if_metageneration_not_match = 3;
      Returns:
      The ifMetagenerationNotMatch.
    • hasReadMask

      boolean hasReadMask()
       Mask specifying which fields to read.
       A "*" field may be used to indicate all fields.
       If no mask is specified, will default 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 may be used to indicate all fields.
       If no mask is specified, will default 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 may be used to indicate all fields.
       If no mask is specified, will default to all fields.
       
      optional .google.protobuf.FieldMask read_mask = 5;