public static final class UpdateConnectClusterRequest.Builder extends GeneratedMessageV3.Builder<UpdateConnectClusterRequest.Builder> implements UpdateConnectClusterRequestOrBuilder
Request for UpdateConnectCluster.
Protobuf type google.cloud.managedkafka.v1.UpdateConnectClusterRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateConnectClusterRequest.BuilderImplements
UpdateConnectClusterRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateConnectClusterRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
build()
public UpdateConnectClusterRequest build()
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest |
buildPartial()
public UpdateConnectClusterRequest buildPartial()
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest |
clear()
public UpdateConnectClusterRequest.Builder clear()
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
clearConnectCluster()
public UpdateConnectClusterRequest.Builder clearConnectCluster()
Required. The Kafka Connect cluster to update. Its name
field must be
populated.
.google.cloud.managedkafka.v1.ConnectCluster connect_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpdateConnectClusterRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateConnectClusterRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
clearRequestId()
public UpdateConnectClusterRequest.Builder clearRequestId()
Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request.
The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
This builder for chaining. |
clearUpdateMask()
public UpdateConnectClusterRequest.Builder clearUpdateMask()
Required. Field mask is used to specify the fields to be overwritten in the cluster 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 |
UpdateConnectClusterRequest.Builder |
clone()
public UpdateConnectClusterRequest.Builder clone()
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
getConnectCluster()
public ConnectCluster getConnectCluster()
Required. The Kafka Connect cluster to update. Its name
field must be
populated.
.google.cloud.managedkafka.v1.ConnectCluster connect_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ConnectCluster |
The connectCluster. |
getConnectClusterBuilder()
public ConnectCluster.Builder getConnectClusterBuilder()
Required. The Kafka Connect cluster to update. Its name
field must be
populated.
.google.cloud.managedkafka.v1.ConnectCluster connect_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ConnectCluster.Builder |
getConnectClusterOrBuilder()
public ConnectClusterOrBuilder getConnectClusterOrBuilder()
Required. The Kafka Connect cluster to update. Its name
field must be
populated.
.google.cloud.managedkafka.v1.ConnectCluster connect_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ConnectClusterOrBuilder |
getDefaultInstanceForType()
public UpdateConnectClusterRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getRequestId()
public String getRequestId()
Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request.
The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()
Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request.
The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for requestId. |
getUpdateMask()
public FieldMask getUpdateMask()
Required. Field mask is used to specify the fields to be overwritten in the cluster 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 cluster 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 cluster 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 |
hasConnectCluster()
public boolean hasConnectCluster()
Required. The Kafka Connect cluster to update. Its name
field must be
populated.
.google.cloud.managedkafka.v1.ConnectCluster connect_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the connectCluster field is set. |
hasUpdateMask()
public boolean hasUpdateMask()
Required. Field mask is used to specify the fields to be overwritten in the cluster 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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeConnectCluster(ConnectCluster value)
public UpdateConnectClusterRequest.Builder mergeConnectCluster(ConnectCluster value)
Required. The Kafka Connect cluster to update. Its name
field must be
populated.
.google.cloud.managedkafka.v1.ConnectCluster connect_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ConnectCluster |
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
mergeFrom(UpdateConnectClusterRequest other)
public UpdateConnectClusterRequest.Builder mergeFrom(UpdateConnectClusterRequest other)
Parameter | |
---|---|
Name | Description |
other |
UpdateConnectClusterRequest |
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateConnectClusterRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UpdateConnectClusterRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateConnectClusterRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
mergeUpdateMask(FieldMask value)
public UpdateConnectClusterRequest.Builder mergeUpdateMask(FieldMask value)
Required. Field mask is used to specify the fields to be overwritten in the cluster 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 |
UpdateConnectClusterRequest.Builder |
setConnectCluster(ConnectCluster value)
public UpdateConnectClusterRequest.Builder setConnectCluster(ConnectCluster value)
Required. The Kafka Connect cluster to update. Its name
field must be
populated.
.google.cloud.managedkafka.v1.ConnectCluster connect_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ConnectCluster |
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
setConnectCluster(ConnectCluster.Builder builderForValue)
public UpdateConnectClusterRequest.Builder setConnectCluster(ConnectCluster.Builder builderForValue)
Required. The Kafka Connect cluster to update. Its name
field must be
populated.
.google.cloud.managedkafka.v1.ConnectCluster connect_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
ConnectCluster.Builder |
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateConnectClusterRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateConnectClusterRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
setRequestId(String value)
public UpdateConnectClusterRequest.Builder setRequestId(String value)
Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request.
The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The requestId to set. |
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public UpdateConnectClusterRequest.Builder setRequestIdBytes(ByteString value)
Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request.
The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for requestId to set. |
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateConnectClusterRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateConnectClusterRequest.Builder |
setUpdateMask(FieldMask value)
public UpdateConnectClusterRequest.Builder setUpdateMask(FieldMask value)
Required. Field mask is used to specify the fields to be overwritten in the cluster 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 |
UpdateConnectClusterRequest.Builder |
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateConnectClusterRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. Field mask is used to specify the fields to be overwritten in the cluster 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 |
UpdateConnectClusterRequest.Builder |