Class UpdateConnectionRequest.Builder (0.3.0)

public static final class UpdateConnectionRequest.Builder extends GeneratedMessage.Builder<UpdateConnectionRequest.Builder> implements UpdateConnectionRequestOrBuilder

Message for updating a connection.

Protobuf type google.cloud.designcenter.v1.UpdateConnectionRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateConnectionRequest build()
Returns
Type Description
UpdateConnectionRequest

buildPartial()

public UpdateConnectionRequest buildPartial()
Returns
Type Description
UpdateConnectionRequest

clear()

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

clearConnection()

public UpdateConnectionRequest.Builder clearConnection()

Required. The connection to update.

.google.cloud.designcenter.v1.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateConnectionRequest.Builder

clearUpdateMask()

public UpdateConnectionRequest.Builder clearUpdateMask()

Optional. Fields to overwrite in the connection 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. If you don't provide a mask, all fields are overwritten.

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

Returns
Type Description
UpdateConnectionRequest.Builder

getConnection()

public Connection getConnection()

Required. The connection to update.

.google.cloud.designcenter.v1.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Connection

The connection.

getConnectionBuilder()

public Connection.Builder getConnectionBuilder()

Required. The connection to update.

.google.cloud.designcenter.v1.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Connection.Builder

getConnectionOrBuilder()

public ConnectionOrBuilder getConnectionOrBuilder()

Required. The connection to update.

.google.cloud.designcenter.v1.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectionOrBuilder

getDefaultInstanceForType()

public UpdateConnectionRequest getDefaultInstanceForType()
Returns
Type Description
UpdateConnectionRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Fields to overwrite in the connection 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. If you don't provide a mask, all fields are overwritten.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. Fields to overwrite in the connection 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. If you don't provide a mask, all fields are overwritten.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Fields to overwrite in the connection 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. If you don't provide a mask, all fields are overwritten.

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

Returns
Type Description
FieldMaskOrBuilder

hasConnection()

public boolean hasConnection()

Required. The connection to update.

.google.cloud.designcenter.v1.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the connection field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Fields to overwrite in the connection 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. If you don't provide a mask, all fields are overwritten.

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

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

mergeConnection(Connection value)

public UpdateConnectionRequest.Builder mergeConnection(Connection value)

Required. The connection to update.

.google.cloud.designcenter.v1.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Connection
Returns
Type Description
UpdateConnectionRequest.Builder

mergeFrom(UpdateConnectionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateMask(FieldMask value)

public UpdateConnectionRequest.Builder mergeUpdateMask(FieldMask value)

Optional. Fields to overwrite in the connection 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. If you don't provide a mask, all fields are overwritten.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateConnectionRequest.Builder

setConnection(Connection value)

public UpdateConnectionRequest.Builder setConnection(Connection value)

Required. The connection to update.

.google.cloud.designcenter.v1.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Connection
Returns
Type Description
UpdateConnectionRequest.Builder

setConnection(Connection.Builder builderForValue)

public UpdateConnectionRequest.Builder setConnection(Connection.Builder builderForValue)

Required. The connection to update.

.google.cloud.designcenter.v1.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Connection.Builder
Returns
Type Description
UpdateConnectionRequest.Builder

setUpdateMask(FieldMask value)

public UpdateConnectionRequest.Builder setUpdateMask(FieldMask value)

Optional. Fields to overwrite in the connection 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. If you don't provide a mask, all fields are overwritten.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateConnectionRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateConnectionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. Fields to overwrite in the connection 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. If you don't provide a mask, all fields are overwritten.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateConnectionRequest.Builder