Class UpdateConsumerGroupRequest.Builder (0.11.0)

public static final class UpdateConsumerGroupRequest.Builder extends GeneratedMessageV3.Builder<UpdateConsumerGroupRequest.Builder> implements UpdateConsumerGroupRequestOrBuilder

Request for UpdateConsumerGroup.

Protobuf type google.cloud.managedkafka.v1.UpdateConsumerGroupRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateConsumerGroupRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateConsumerGroupRequest.Builder
Overrides

build()

public UpdateConsumerGroupRequest build()
Returns
Type Description
UpdateConsumerGroupRequest

buildPartial()

public UpdateConsumerGroupRequest buildPartial()
Returns
Type Description
UpdateConsumerGroupRequest

clear()

public UpdateConsumerGroupRequest.Builder clear()
Returns
Type Description
UpdateConsumerGroupRequest.Builder
Overrides

clearConsumerGroup()

public UpdateConsumerGroupRequest.Builder clearConsumerGroup()

Required. The consumer group to update. Its name field must be populated.

.google.cloud.managedkafka.v1.ConsumerGroup consumer_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateConsumerGroupRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateConsumerGroupRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateConsumerGroupRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateConsumerGroupRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateConsumerGroupRequest.Builder
Overrides

clearUpdateMask()

public UpdateConsumerGroupRequest.Builder clearUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the ConsumerGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of * will update all fields.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateConsumerGroupRequest.Builder

clone()

public UpdateConsumerGroupRequest.Builder clone()
Returns
Type Description
UpdateConsumerGroupRequest.Builder
Overrides

getConsumerGroup()

public ConsumerGroup getConsumerGroup()

Required. The consumer group to update. Its name field must be populated.

.google.cloud.managedkafka.v1.ConsumerGroup consumer_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConsumerGroup

The consumerGroup.

getConsumerGroupBuilder()

public ConsumerGroup.Builder getConsumerGroupBuilder()

Required. The consumer group to update. Its name field must be populated.

.google.cloud.managedkafka.v1.ConsumerGroup consumer_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConsumerGroup.Builder

getConsumerGroupOrBuilder()

public ConsumerGroupOrBuilder getConsumerGroupOrBuilder()

Required. The consumer group to update. Its name field must be populated.

.google.cloud.managedkafka.v1.ConsumerGroup consumer_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConsumerGroupOrBuilder

getDefaultInstanceForType()

public UpdateConsumerGroupRequest getDefaultInstanceForType()
Returns
Type Description
UpdateConsumerGroupRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the ConsumerGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of * will update all fields.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Field mask is used to specify the fields to be overwritten in the ConsumerGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of * will update all fields.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Field mask is used to specify the fields to be overwritten in the ConsumerGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of * will update all fields.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasConsumerGroup()

public boolean hasConsumerGroup()

Required. The consumer group to update. Its name field must be populated.

.google.cloud.managedkafka.v1.ConsumerGroup consumer_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the consumerGroup field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the ConsumerGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of * will update all fields.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConsumerGroup(ConsumerGroup value)

public UpdateConsumerGroupRequest.Builder mergeConsumerGroup(ConsumerGroup value)

Required. The consumer group to update. Its name field must be populated.

.google.cloud.managedkafka.v1.ConsumerGroup consumer_group = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ConsumerGroup
Returns
Type Description
UpdateConsumerGroupRequest.Builder

mergeFrom(UpdateConsumerGroupRequest other)

public UpdateConsumerGroupRequest.Builder mergeFrom(UpdateConsumerGroupRequest other)
Parameter
Name Description
other UpdateConsumerGroupRequest
Returns
Type Description
UpdateConsumerGroupRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateConsumerGroupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateConsumerGroupRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateConsumerGroupRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateConsumerGroupRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateConsumerGroupRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateConsumerGroupRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateConsumerGroupRequest.Builder mergeUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the ConsumerGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of * will update all fields.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateConsumerGroupRequest.Builder

setConsumerGroup(ConsumerGroup value)

public UpdateConsumerGroupRequest.Builder setConsumerGroup(ConsumerGroup value)

Required. The consumer group to update. Its name field must be populated.

.google.cloud.managedkafka.v1.ConsumerGroup consumer_group = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ConsumerGroup
Returns
Type Description
UpdateConsumerGroupRequest.Builder

setConsumerGroup(ConsumerGroup.Builder builderForValue)

public UpdateConsumerGroupRequest.Builder setConsumerGroup(ConsumerGroup.Builder builderForValue)

Required. The consumer group to update. Its name field must be populated.

.google.cloud.managedkafka.v1.ConsumerGroup consumer_group = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ConsumerGroup.Builder
Returns
Type Description
UpdateConsumerGroupRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateConsumerGroupRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateConsumerGroupRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateConsumerGroupRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateConsumerGroupRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateConsumerGroupRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateConsumerGroupRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateConsumerGroupRequest.Builder setUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the ConsumerGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of * will update all fields.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateConsumerGroupRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateConsumerGroupRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Field mask is used to specify the fields to be overwritten in the ConsumerGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of * will update all fields.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateConsumerGroupRequest.Builder