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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateBucketRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateBucketRequest build()
Returns
buildPartial()
public UpdateBucketRequest buildPartial()
Returns
clear()
public UpdateBucketRequest.Builder clear()
Returns
Overrides
clearBucket()
public UpdateBucketRequest.Builder clearBucket()
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateBucketRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateBucketRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateBucketRequest.Builder clearUpdateMask()
Returns
clone()
public UpdateBucketRequest.Builder clone()
Returns
Overrides
getBucket()
public LogBucket getBucket()
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getBucketBuilder()
public LogBucket.Builder getBucketBuilder()
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getBucketOrBuilder()
public LogBucketOrBuilder getBucketOrBuilder()
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateBucketRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
getUpdateMask()
public FieldMask getUpdateMask()
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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];
Parameter
Returns
mergeFrom(UpdateBucketRequest other)
public UpdateBucketRequest.Builder mergeFrom(UpdateBucketRequest other)
Parameter
Returns
public UpdateBucketRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateBucketRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBucketRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateBucketRequest.Builder mergeUpdateMask(FieldMask value)
Parameter
Returns
setBucket(LogBucket value)
public UpdateBucketRequest.Builder setBucket(LogBucket value)
Required. The updated bucket.
.google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateBucketRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateBucketRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBucketRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateBucketRequest.Builder setUpdateMask(FieldMask value)
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateBucketRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Parameter
Name |
Description |
builderForValue |
Builder
|
Returns