public static final class UpdateBucketRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateBucketRequest.Builder> implements UpdateBucketRequestOrBuilder
The parameters to `UpdateBucket`.Protobuf type
google.logging.v2.UpdateBucketRequest
Modifier and Type | Method and Description |
---|---|
UpdateBucketRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UpdateBucketRequest |
build() |
UpdateBucketRequest |
buildPartial() |
UpdateBucketRequest.Builder |
clear() |
UpdateBucketRequest.Builder |
clearBucket()
Required.
|
UpdateBucketRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UpdateBucketRequest.Builder |
clearName()
Required.
|
UpdateBucketRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UpdateBucketRequest.Builder |
clearUpdateMask()
Required.
|
UpdateBucketRequest.Builder |
clone() |
LogBucket |
getBucket()
Required.
|
LogBucket.Builder |
getBucketBuilder()
Required.
|
LogBucketOrBuilder |
getBucketOrBuilder()
Required.
|
UpdateBucketRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
com.google.protobuf.FieldMask |
getUpdateMask()
Required.
|
com.google.protobuf.FieldMask.Builder |
getUpdateMaskBuilder()
Required.
|
com.google.protobuf.FieldMaskOrBuilder |
getUpdateMaskOrBuilder()
Required.
|
boolean |
hasBucket()
Required.
|
boolean |
hasUpdateMask()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UpdateBucketRequest.Builder |
mergeBucket(LogBucket value)
Required.
|
UpdateBucketRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UpdateBucketRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
UpdateBucketRequest.Builder |
mergeFrom(UpdateBucketRequest other) |
UpdateBucketRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UpdateBucketRequest.Builder |
mergeUpdateMask(com.google.protobuf.FieldMask value)
Required.
|
UpdateBucketRequest.Builder |
setBucket(LogBucket.Builder builderForValue)
Required.
|
UpdateBucketRequest.Builder |
setBucket(LogBucket value)
Required.
|
UpdateBucketRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UpdateBucketRequest.Builder |
setName(String value)
Required.
|
UpdateBucketRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
UpdateBucketRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UpdateBucketRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UpdateBucketRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Required.
|
UpdateBucketRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask value)
Required.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBucketRequest.Builder>
public UpdateBucketRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBucketRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBucketRequest.Builder>
public UpdateBucketRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public UpdateBucketRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public UpdateBucketRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public UpdateBucketRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBucketRequest.Builder>
public UpdateBucketRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBucketRequest.Builder>
public UpdateBucketRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBucketRequest.Builder>
public UpdateBucketRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBucketRequest.Builder>
public UpdateBucketRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBucketRequest.Builder>
public UpdateBucketRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBucketRequest.Builder>
public UpdateBucketRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UpdateBucketRequest.Builder>
public UpdateBucketRequest.Builder mergeFrom(UpdateBucketRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBucketRequest.Builder>
public UpdateBucketRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UpdateBucketRequest.Builder>
IOException
public String getName()
Required. The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example: `"projects/my-project/locations/global/buckets/my-bucket"`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName
in interface UpdateBucketRequestOrBuilder
public com.google.protobuf.ByteString getNameBytes()
Required. The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example: `"projects/my-project/locations/global/buckets/my-bucket"`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes
in interface UpdateBucketRequestOrBuilder
public UpdateBucketRequest.Builder setName(String value)
Required. The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example: `"projects/my-project/locations/global/buckets/my-bucket"`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The name to set.public UpdateBucketRequest.Builder clearName()
Required. The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example: `"projects/my-project/locations/global/buckets/my-bucket"`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public UpdateBucketRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example: `"projects/my-project/locations/global/buckets/my-bucket"`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The bytes for name to set.public boolean hasBucket()
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
hasBucket
in interface UpdateBucketRequestOrBuilder
public LogBucket getBucket()
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
getBucket
in interface UpdateBucketRequestOrBuilder
public UpdateBucketRequest.Builder setBucket(LogBucket value)
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateBucketRequest.Builder setBucket(LogBucket.Builder builderForValue)
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateBucketRequest.Builder mergeBucket(LogBucket value)
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateBucketRequest.Builder clearBucket()
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
public LogBucket.Builder getBucketBuilder()
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
public LogBucketOrBuilder getBucketOrBuilder()
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
getBucketOrBuilder
in interface UpdateBucketRequestOrBuilder
public boolean hasUpdateMask()
Required. Field mask that specifies the fields in `bucket` that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated. For a detailed `FieldMask` definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask For example: `updateMask=retention_days`
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
hasUpdateMask
in interface UpdateBucketRequestOrBuilder
public com.google.protobuf.FieldMask getUpdateMask()
Required. Field mask that specifies the fields in `bucket` that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated. For a detailed `FieldMask` definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask For example: `updateMask=retention_days`
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask
in interface UpdateBucketRequestOrBuilder
public UpdateBucketRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
Required. Field mask that specifies the fields in `bucket` that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated. For a detailed `FieldMask` definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask For example: `updateMask=retention_days`
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
public UpdateBucketRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Required. Field mask that specifies the fields in `bucket` that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated. For a detailed `FieldMask` definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask For example: `updateMask=retention_days`
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
public UpdateBucketRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
Required. Field mask that specifies the fields in `bucket` that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated. For a detailed `FieldMask` definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask For example: `updateMask=retention_days`
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
public UpdateBucketRequest.Builder clearUpdateMask()
Required. Field mask that specifies the fields in `bucket` that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated. For a detailed `FieldMask` definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask For example: `updateMask=retention_days`
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
Required. Field mask that specifies the fields in `bucket` that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated. For a detailed `FieldMask` definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask For example: `updateMask=retention_days`
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. Field mask that specifies the fields in `bucket` that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated. For a detailed `FieldMask` definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask For example: `updateMask=retention_days`
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
getUpdateMaskOrBuilder
in interface UpdateBucketRequestOrBuilder
public final UpdateBucketRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBucketRequest.Builder>
public final UpdateBucketRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBucketRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.