Interface CreateBucketRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Required.

    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

    • getParent

      String getParent()
       Required. The resource in which to create the log bucket:
      
           "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
      
       For example:
      
         `"projects/my-project/locations/global"`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The resource in which to create the log bucket:
      
           "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
      
       For example:
      
         `"projects/my-project/locations/global"`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getBucketId

      String getBucketId()
       Required. A client-assigned identifier such as `"my-bucket"`. Identifiers
       are limited to 100 characters and can include only letters, digits,
       underscores, hyphens, and periods.
       
      string bucket_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bucketId.
    • getBucketIdBytes

      com.google.protobuf.ByteString getBucketIdBytes()
       Required. A client-assigned identifier such as `"my-bucket"`. Identifiers
       are limited to 100 characters and can include only letters, digits,
       underscores, hyphens, and periods.
       
      string bucket_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for bucketId.
    • hasBucket

      boolean hasBucket()
       Required. The new bucket. The region specified in the new bucket must be
       compliant with any Location Restriction Org Policy. The name field in the
       bucket is ignored.
       
      .google.logging.v2.LogBucket bucket = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the bucket field is set.
    • getBucket

      LogBucket getBucket()
       Required. The new bucket. The region specified in the new bucket must be
       compliant with any Location Restriction Org Policy. The name field in the
       bucket is ignored.
       
      .google.logging.v2.LogBucket bucket = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bucket.
    • getBucketOrBuilder

      LogBucketOrBuilder getBucketOrBuilder()
       Required. The new bucket. The region specified in the new bucket must be
       compliant with any Location Restriction Org Policy. The name field in the
       bucket is ignored.
       
      .google.logging.v2.LogBucket bucket = 3 [(.google.api.field_behavior) = REQUIRED];