// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/logging/v2/logging_config.proto

package com.google.logging.v2;

public interface CreateBucketRequestOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.logging.v2.CreateBucketRequest)
    com.google.protobuf.MessageLiteOrBuilder {

  /**
   * <pre>
   * Required. The resource in which to create the bucket:
   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
   * Example: `"projects/my-logging-project/locations/global"`
   * </pre>
   *
   * <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }</code>
   * @return The parent.
   */
  java.lang.String getParent();
  /**
   * <pre>
   * Required. The resource in which to create the bucket:
   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
   * Example: `"projects/my-logging-project/locations/global"`
   * </pre>
   *
   * <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }</code>
   * @return The bytes for parent.
   */
  com.google.protobuf.ByteString
      getParentBytes();

  /**
   * <pre>
   * 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.
   * </pre>
   *
   * <code>string bucket_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
   * @return The bucketId.
   */
  java.lang.String getBucketId();
  /**
   * <pre>
   * 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.
   * </pre>
   *
   * <code>string bucket_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
   * @return The bytes for bucketId.
   */
  com.google.protobuf.ByteString
      getBucketIdBytes();

  /**
   * <pre>
   * 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.
   * </pre>
   *
   * <code>.google.logging.v2.LogBucket bucket = 3 [(.google.api.field_behavior) = REQUIRED];</code>
   * @return Whether the bucket field is set.
   */
  boolean hasBucket();
  /**
   * <pre>
   * 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.
   * </pre>
   *
   * <code>.google.logging.v2.LogBucket bucket = 3 [(.google.api.field_behavior) = REQUIRED];</code>
   * @return The bucket.
   */
  com.google.logging.v2.LogBucket getBucket();
}
