public static final class Bucket.Builder extends GeneratedMessage.Builder<Bucket.Builder> implements BucketOrBuilderBucket configuration for storing observability data.
Protobuf type google.cloud.observability.v1.Bucket
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Bucket.BuilderImplements
BucketOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Bucket build()| Returns | |
|---|---|
| Type | Description |
Bucket |
|
buildPartial()
public Bucket buildPartial()| Returns | |
|---|---|
| Type | Description |
Bucket |
|
clear()
public Bucket.Builder clear()| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
clearCmekSettings()
public Bucket.Builder clearCmekSettings()Optional. Settings for configuring CMEK on a bucket.
.google.cloud.observability.v1.CmekSettings cmek_settings = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
clearCreateTime()
public Bucket.Builder clearCreateTime()Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
clearDeleteTime()
public Bucket.Builder clearDeleteTime()Output only. Delete timestamp.
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
clearDescription()
public Bucket.Builder clearDescription()Optional. Description of the bucket.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
This builder for chaining. |
clearDisplayName()
public Bucket.Builder clearDisplayName()Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
This builder for chaining. |
clearName()
public Bucket.Builder clearName()Identifier. Name of the bucket. The format is:
projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
This builder for chaining. |
clearPurgeTime()
public Bucket.Builder clearPurgeTime()Output only. Timestamp when the bucket in soft-deleted state is purged.
.google.protobuf.Timestamp purge_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
clearUpdateTime()
public Bucket.Builder clearUpdateTime()Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
getCmekSettings()
public CmekSettings getCmekSettings()Optional. Settings for configuring CMEK on a bucket.
.google.cloud.observability.v1.CmekSettings cmek_settings = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CmekSettings |
The cmekSettings. |
getCmekSettingsBuilder()
public CmekSettings.Builder getCmekSettingsBuilder()Optional. Settings for configuring CMEK on a bucket.
.google.cloud.observability.v1.CmekSettings cmek_settings = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CmekSettings.Builder |
|
getCmekSettingsOrBuilder()
public CmekSettingsOrBuilder getCmekSettingsOrBuilder()Optional. Settings for configuring CMEK on a bucket.
.google.cloud.observability.v1.CmekSettings cmek_settings = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CmekSettingsOrBuilder |
|
getCreateTime()
public Timestamp getCreateTime()Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public Bucket getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Bucket |
|
getDeleteTime()
public Timestamp getDeleteTime()Output only. Delete timestamp.
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The deleteTime. |
getDeleteTimeBuilder()
public Timestamp.Builder getDeleteTimeBuilder()Output only. Delete timestamp.
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder()Output only. Delete timestamp.
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDescription()
public String getDescription()Optional. Description of the bucket.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. Description of the bucket.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getName()
public String getName()Identifier. Name of the bucket. The format is:
projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Identifier. Name of the bucket. The format is:
projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPurgeTime()
public Timestamp getPurgeTime()Output only. Timestamp when the bucket in soft-deleted state is purged.
.google.protobuf.Timestamp purge_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The purgeTime. |
getPurgeTimeBuilder()
public Timestamp.Builder getPurgeTimeBuilder()Output only. Timestamp when the bucket in soft-deleted state is purged.
.google.protobuf.Timestamp purge_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getPurgeTimeOrBuilder()
public TimestampOrBuilder getPurgeTimeOrBuilder()Output only. Timestamp when the bucket in soft-deleted state is purged.
.google.protobuf.Timestamp purge_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getUpdateTime()
public Timestamp getUpdateTime()Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCmekSettings()
public boolean hasCmekSettings()Optional. Settings for configuring CMEK on a bucket.
.google.cloud.observability.v1.CmekSettings cmek_settings = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the cmekSettings field is set. |
hasCreateTime()
public boolean hasCreateTime()Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasDeleteTime()
public boolean hasDeleteTime()Output only. Delete timestamp.
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the deleteTime field is set. |
hasPurgeTime()
public boolean hasPurgeTime()Output only. Timestamp when the bucket in soft-deleted state is purged.
.google.protobuf.Timestamp purge_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the purgeTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCmekSettings(CmekSettings value)
public Bucket.Builder mergeCmekSettings(CmekSettings value)Optional. Settings for configuring CMEK on a bucket.
.google.cloud.observability.v1.CmekSettings cmek_settings = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
CmekSettings |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
mergeCreateTime(Timestamp value)
public Bucket.Builder mergeCreateTime(Timestamp value)Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
mergeDeleteTime(Timestamp value)
public Bucket.Builder mergeDeleteTime(Timestamp value)Output only. Delete timestamp.
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
mergeFrom(Bucket other)
public Bucket.Builder mergeFrom(Bucket other)| Parameter | |
|---|---|
| Name | Description |
other |
Bucket |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Bucket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Bucket.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
mergePurgeTime(Timestamp value)
public Bucket.Builder mergePurgeTime(Timestamp value)Output only. Timestamp when the bucket in soft-deleted state is purged.
.google.protobuf.Timestamp purge_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
mergeUpdateTime(Timestamp value)
public Bucket.Builder mergeUpdateTime(Timestamp value)Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
setCmekSettings(CmekSettings value)
public Bucket.Builder setCmekSettings(CmekSettings value)Optional. Settings for configuring CMEK on a bucket.
.google.cloud.observability.v1.CmekSettings cmek_settings = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
CmekSettings |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
setCmekSettings(CmekSettings.Builder builderForValue)
public Bucket.Builder setCmekSettings(CmekSettings.Builder builderForValue)Optional. Settings for configuring CMEK on a bucket.
.google.cloud.observability.v1.CmekSettings cmek_settings = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CmekSettings.Builder |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
setCreateTime(Timestamp value)
public Bucket.Builder setCreateTime(Timestamp value)Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public Bucket.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
setDeleteTime(Timestamp value)
public Bucket.Builder setDeleteTime(Timestamp value)Output only. Delete timestamp.
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
setDeleteTime(Timestamp.Builder builderForValue)
public Bucket.Builder setDeleteTime(Timestamp.Builder builderForValue)Output only. Delete timestamp.
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
setDescription(String value)
public Bucket.Builder setDescription(String value)Optional. Description of the bucket.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Bucket.Builder setDescriptionBytes(ByteString value)Optional. Description of the bucket.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
This builder for chaining. |
setDisplayName(String value)
public Bucket.Builder setDisplayName(String value)Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Bucket.Builder setDisplayNameBytes(ByteString value)Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
This builder for chaining. |
setName(String value)
public Bucket.Builder setName(String value)Identifier. Name of the bucket. The format is:
projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Bucket.Builder setNameBytes(ByteString value)Identifier. Name of the bucket. The format is:
projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
This builder for chaining. |
setPurgeTime(Timestamp value)
public Bucket.Builder setPurgeTime(Timestamp value)Output only. Timestamp when the bucket in soft-deleted state is purged.
.google.protobuf.Timestamp purge_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
setPurgeTime(Timestamp.Builder builderForValue)
public Bucket.Builder setPurgeTime(Timestamp.Builder builderForValue)Output only. Timestamp when the bucket in soft-deleted state is purged.
.google.protobuf.Timestamp purge_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
setUpdateTime(Timestamp value)
public Bucket.Builder setUpdateTime(Timestamp value)Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public Bucket.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Bucket.Builder |
|