Class UpdateConnectorRequest.Builder (0.39.0)

public static final class UpdateConnectorRequest.Builder extends GeneratedMessage.Builder<UpdateConnectorRequest.Builder> implements UpdateConnectorRequestOrBuilder

Request for UpdateConnector.

Protobuf type google.cloud.managedkafka.v1.UpdateConnectorRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateConnectorRequest build()
Returns
Type Description
UpdateConnectorRequest

buildPartial()

public UpdateConnectorRequest buildPartial()
Returns
Type Description
UpdateConnectorRequest

clear()

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

clearConnector()

public UpdateConnectorRequest.Builder clearConnector()

Required. The connector to update. Its name field must be populated.

.google.cloud.managedkafka.v1.Connector connector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateConnectorRequest.Builder

clearUpdateMask()

public UpdateConnectorRequest.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
UpdateConnectorRequest.Builder

getConnector()

public Connector getConnector()

Required. The connector to update. Its name field must be populated.

.google.cloud.managedkafka.v1.Connector connector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Connector

The connector.

getConnectorBuilder()

public Connector.Builder getConnectorBuilder()

Required. The connector to update. Its name field must be populated.

.google.cloud.managedkafka.v1.Connector connector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Connector.Builder

getConnectorOrBuilder()

public ConnectorOrBuilder getConnectorOrBuilder()

Required. The connector to update. Its name field must be populated.

.google.cloud.managedkafka.v1.Connector connector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectorOrBuilder

getDefaultInstanceForType()

public UpdateConnectorRequest getDefaultInstanceForType()
Returns
Type Description
UpdateConnectorRequest

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 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

hasConnector()

public boolean hasConnector()

Required. The connector to update. Its name field must be populated.

.google.cloud.managedkafka.v1.Connector connector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the connector 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConnector(Connector value)

public UpdateConnectorRequest.Builder mergeConnector(Connector value)

Required. The connector to update. Its name field must be populated.

.google.cloud.managedkafka.v1.Connector connector = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Connector
Returns
Type Description
UpdateConnectorRequest.Builder

mergeFrom(UpdateConnectorRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateMask(FieldMask value)

public UpdateConnectorRequest.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
UpdateConnectorRequest.Builder

setConnector(Connector value)

public UpdateConnectorRequest.Builder setConnector(Connector value)

Required. The connector to update. Its name field must be populated.

.google.cloud.managedkafka.v1.Connector connector = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Connector
Returns
Type Description
UpdateConnectorRequest.Builder

setConnector(Connector.Builder builderForValue)

public UpdateConnectorRequest.Builder setConnector(Connector.Builder builderForValue)

Required. The connector to update. Its name field must be populated.

.google.cloud.managedkafka.v1.Connector connector = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Connector.Builder
Returns
Type Description
UpdateConnectorRequest.Builder

setUpdateMask(FieldMask value)

public UpdateConnectorRequest.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
UpdateConnectorRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateConnectorRequest.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
UpdateConnectorRequest.Builder