Class ConnectionConfig.Builder (0.3.0)

public static final class ConnectionConfig.Builder extends GeneratedMessage.Builder<ConnectionConfig.Builder> implements ConnectionConfigOrBuilder

Connection configuration for the application.

Protobuf type google.cloud.designcenter.v1.ConnectionConfig

Static Methods

getDescriptor()

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

Methods

addAllDestinationComponentParameters(Iterable<? extends Parameter> values)

public ConnectionConfig.Builder addAllDestinationComponentParameters(Iterable<? extends Parameter> values)

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.designcenter.v1.Parameter>
Returns
Type Description
ConnectionConfig.Builder

addAllSourceComponentParameters(Iterable<? extends Parameter> values)

public ConnectionConfig.Builder addAllSourceComponentParameters(Iterable<? extends Parameter> values)

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.designcenter.v1.Parameter>
Returns
Type Description
ConnectionConfig.Builder

addDestinationComponentParameters(Parameter value)

public ConnectionConfig.Builder addDestinationComponentParameters(Parameter value)

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Parameter
Returns
Type Description
ConnectionConfig.Builder

addDestinationComponentParameters(Parameter.Builder builderForValue)

public ConnectionConfig.Builder addDestinationComponentParameters(Parameter.Builder builderForValue)

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Parameter.Builder
Returns
Type Description
ConnectionConfig.Builder

addDestinationComponentParameters(int index, Parameter value)

public ConnectionConfig.Builder addDestinationComponentParameters(int index, Parameter value)

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Parameter
Returns
Type Description
ConnectionConfig.Builder

addDestinationComponentParameters(int index, Parameter.Builder builderForValue)

public ConnectionConfig.Builder addDestinationComponentParameters(int index, Parameter.Builder builderForValue)

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Parameter.Builder
Returns
Type Description
ConnectionConfig.Builder

addDestinationComponentParametersBuilder()

public Parameter.Builder addDestinationComponentParametersBuilder()

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Parameter.Builder

addDestinationComponentParametersBuilder(int index)

public Parameter.Builder addDestinationComponentParametersBuilder(int index)

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Parameter.Builder

addSourceComponentParameters(Parameter value)

public ConnectionConfig.Builder addSourceComponentParameters(Parameter value)

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Parameter
Returns
Type Description
ConnectionConfig.Builder

addSourceComponentParameters(Parameter.Builder builderForValue)

public ConnectionConfig.Builder addSourceComponentParameters(Parameter.Builder builderForValue)

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Parameter.Builder
Returns
Type Description
ConnectionConfig.Builder

addSourceComponentParameters(int index, Parameter value)

public ConnectionConfig.Builder addSourceComponentParameters(int index, Parameter value)

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Parameter
Returns
Type Description
ConnectionConfig.Builder

addSourceComponentParameters(int index, Parameter.Builder builderForValue)

public ConnectionConfig.Builder addSourceComponentParameters(int index, Parameter.Builder builderForValue)

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Parameter.Builder
Returns
Type Description
ConnectionConfig.Builder

addSourceComponentParametersBuilder()

public Parameter.Builder addSourceComponentParametersBuilder()

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Parameter.Builder

addSourceComponentParametersBuilder(int index)

public Parameter.Builder addSourceComponentParametersBuilder(int index)

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Parameter.Builder

build()

public ConnectionConfig build()
Returns
Type Description
ConnectionConfig

buildPartial()

public ConnectionConfig buildPartial()
Returns
Type Description
ConnectionConfig

clear()

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

clearConnectionUri()

public ConnectionConfig.Builder clearConnectionUri()

Required. The connection URI.

string connection_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectionConfig.Builder

This builder for chaining.

clearDestinationComponentParameters()

public ConnectionConfig.Builder clearDestinationComponentParameters()

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConnectionConfig.Builder

clearSourceComponentParameters()

public ConnectionConfig.Builder clearSourceComponentParameters()

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConnectionConfig.Builder

getConnectionUri()

public String getConnectionUri()

Required. The connection URI.

string connection_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The connectionUri.

getConnectionUriBytes()

public ByteString getConnectionUriBytes()

Required. The connection URI.

string connection_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for connectionUri.

getDefaultInstanceForType()

public ConnectionConfig getDefaultInstanceForType()
Returns
Type Description
ConnectionConfig

getDescriptorForType()

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

getDestinationComponentParameters(int index)

public Parameter getDestinationComponentParameters(int index)

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Parameter

getDestinationComponentParametersBuilder(int index)

public Parameter.Builder getDestinationComponentParametersBuilder(int index)

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Parameter.Builder

getDestinationComponentParametersBuilderList()

public List<Parameter.Builder> getDestinationComponentParametersBuilderList()

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getDestinationComponentParametersCount()

public int getDestinationComponentParametersCount()

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getDestinationComponentParametersList()

public List<Parameter> getDestinationComponentParametersList()

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Parameter>

getDestinationComponentParametersOrBuilder(int index)

public ParameterOrBuilder getDestinationComponentParametersOrBuilder(int index)

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ParameterOrBuilder

getDestinationComponentParametersOrBuilderList()

public List<? extends ParameterOrBuilder> getDestinationComponentParametersOrBuilderList()

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.ParameterOrBuilder>

getSourceComponentParameters(int index)

public Parameter getSourceComponentParameters(int index)

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Parameter

getSourceComponentParametersBuilder(int index)

public Parameter.Builder getSourceComponentParametersBuilder(int index)

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Parameter.Builder

getSourceComponentParametersBuilderList()

public List<Parameter.Builder> getSourceComponentParametersBuilderList()

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getSourceComponentParametersCount()

public int getSourceComponentParametersCount()

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSourceComponentParametersList()

public List<Parameter> getSourceComponentParametersList()

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Parameter>

getSourceComponentParametersOrBuilder(int index)

public ParameterOrBuilder getSourceComponentParametersOrBuilder(int index)

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ParameterOrBuilder

getSourceComponentParametersOrBuilderList()

public List<? extends ParameterOrBuilder> getSourceComponentParametersOrBuilderList()

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.ParameterOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ConnectionConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeDestinationComponentParameters(int index)

public ConnectionConfig.Builder removeDestinationComponentParameters(int index)

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ConnectionConfig.Builder

removeSourceComponentParameters(int index)

public ConnectionConfig.Builder removeSourceComponentParameters(int index)

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ConnectionConfig.Builder

setConnectionUri(String value)

public ConnectionConfig.Builder setConnectionUri(String value)

Required. The connection URI.

string connection_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The connectionUri to set.

Returns
Type Description
ConnectionConfig.Builder

This builder for chaining.

setConnectionUriBytes(ByteString value)

public ConnectionConfig.Builder setConnectionUriBytes(ByteString value)

Required. The connection URI.

string connection_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for connectionUri to set.

Returns
Type Description
ConnectionConfig.Builder

This builder for chaining.

setDestinationComponentParameters(int index, Parameter value)

public ConnectionConfig.Builder setDestinationComponentParameters(int index, Parameter value)

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Parameter
Returns
Type Description
ConnectionConfig.Builder

setDestinationComponentParameters(int index, Parameter.Builder builderForValue)

public ConnectionConfig.Builder setDestinationComponentParameters(int index, Parameter.Builder builderForValue)

Optional. The parameters of the connection associated with the destination component.

repeated .google.cloud.designcenter.v1.Parameter destination_component_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Parameter.Builder
Returns
Type Description
ConnectionConfig.Builder

setSourceComponentParameters(int index, Parameter value)

public ConnectionConfig.Builder setSourceComponentParameters(int index, Parameter value)

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Parameter
Returns
Type Description
ConnectionConfig.Builder

setSourceComponentParameters(int index, Parameter.Builder builderForValue)

public ConnectionConfig.Builder setSourceComponentParameters(int index, Parameter.Builder builderForValue)

Optional. The parameters of the connection associated with the source component.

repeated .google.cloud.designcenter.v1.Parameter source_component_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Parameter.Builder
Returns
Type Description
ConnectionConfig.Builder