public static final class UpdateBucketRequest.Builder extends GeneratedMessageV3.Builder<UpdateBucketRequest.Builder> implements UpdateBucketRequestOrBuilder
The parameters to UpdateBucket
.
Protobuf type google.logging.v2.UpdateBucketRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateBucketRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateBucketRequest build()
buildPartial()
public UpdateBucketRequest buildPartial()
clear()
public UpdateBucketRequest.Builder clear()
Overrides
clearBucket()
public UpdateBucketRequest.Builder clearBucket()
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateBucketRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateBucketRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateBucketRequest.Builder clearUpdateMask()
clone()
public UpdateBucketRequest.Builder clone()
Overrides
getBucket()
public LogBucket getBucket()
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
LogBucket |
The bucket.
|
getBucketBuilder()
public LogBucket.Builder getBucketBuilder()
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
getBucketOrBuilder()
public LogBucketOrBuilder getBucketOrBuilder()
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateBucketRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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) = { ... }
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public 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) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getUpdateMask()
public FieldMask getUpdateMask()
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
hasBucket()
public boolean hasBucket()
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the bucket field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeBucket(LogBucket value)
public UpdateBucketRequest.Builder mergeBucket(LogBucket value)
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(UpdateBucketRequest other)
public UpdateBucketRequest.Builder mergeFrom(UpdateBucketRequest other)
public UpdateBucketRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateBucketRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBucketRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateBucketRequest.Builder mergeUpdateMask(FieldMask value)
setBucket(LogBucket value)
public UpdateBucketRequest.Builder setBucket(LogBucket value)
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
setBucket(LogBucket.Builder builderForValue)
public UpdateBucketRequest.Builder setBucket(LogBucket.Builder builderForValue)
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateBucketRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
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) = { ... }
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public UpdateBucketRequest.Builder setNameBytes(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) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateBucketRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBucketRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateBucketRequest.Builder setUpdateMask(FieldMask value)
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateBucketRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Parameter |
Name |
Description |
builderForValue |
Builder
|