Interface CreateBucketRequestOrBuilder (0.3.0)

public interface CreateBucketRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucket()

public abstract Bucket getBucket()

Required. Bucket to create.

.google.cloud.observability.v1.Bucket bucket = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Bucket

The bucket.

getBucketId()

public abstract String getBucketId()

Required. Id of the bucket to create.

string bucket_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The bucketId.

getBucketIdBytes()

public abstract ByteString getBucketIdBytes()

Required. Id of the bucket to create.

string bucket_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for bucketId.

getBucketOrBuilder()

public abstract BucketOrBuilder getBucketOrBuilder()

Required. Bucket to create.

.google.cloud.observability.v1.Bucket bucket = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BucketOrBuilder

getParent()

public abstract String getParent()

Required. Name of the project and location for the bucket. The format is:

projects/[PROJECT_ID]/locations/[LOCATION]

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Name of the project and location for the bucket. The format is:

projects/[PROJECT_ID]/locations/[LOCATION]

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasBucket()

public abstract boolean hasBucket()

Required. Bucket to create.

.google.cloud.observability.v1.Bucket bucket = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the bucket field is set.