public static final class UpdateConsumerGroupRequest.Builder extends GeneratedMessageV3.Builder<UpdateConsumerGroupRequest.Builder> implements UpdateConsumerGroupRequestOrBuilder
Request for UpdateConsumerGroup.
Protobuf type google.cloud.managedkafka.v1.UpdateConsumerGroupRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 UpdateConsumerGroupRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateConsumerGroupRequest build()
buildPartial()
public UpdateConsumerGroupRequest buildPartial()
clear()
public UpdateConsumerGroupRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public UpdateConsumerGroupRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateConsumerGroupRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public UpdateConsumerGroupRequest.Builder clone()
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];
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];
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];
getDefaultInstanceForType()
public UpdateConsumerGroupRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(UpdateConsumerGroupRequest other)
public UpdateConsumerGroupRequest.Builder mergeFrom(UpdateConsumerGroupRequest other)
public UpdateConsumerGroupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateConsumerGroupRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateConsumerGroupRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateConsumerGroupRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateConsumerGroupRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateConsumerGroupRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|