Class UpdateConnectionRequest.Builder (3.50.0)

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

Request message for UpdateConnection.

Protobuf type google.privacy.dlp.v2.UpdateConnectionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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 with new values for the relevant fields.

.google.privacy.dlp.v2.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateConnectionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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