Class SerializedConnection.Builder (0.3.0)

public static final class SerializedConnection.Builder extends GeneratedMessage.Builder<SerializedConnection.Builder> implements SerializedConnectionOrBuilder

Serialized connection.

Protobuf type google.cloud.designcenter.v1.SerializedConnection

Static Methods

getDescriptor()

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

Methods

addAllDestinationComponentParameters(Iterable<? extends Parameter> values)

public SerializedConnection.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 = 5 [(.google.api.field_behavior) = OPTIONAL];

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

addAllSourceComponentParameters(Iterable<? extends Parameter> values)

public SerializedConnection.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

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

addDestinationComponentParameters(Parameter value)

public SerializedConnection.Builder addDestinationComponentParameters(Parameter value)

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

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

Parameter
Name Description
value Parameter
Returns
Type Description
SerializedConnection.Builder

addDestinationComponentParameters(Parameter.Builder builderForValue)

public SerializedConnection.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 = 5 [(.google.api.field_behavior) = OPTIONAL];

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

addDestinationComponentParameters(int index, Parameter value)

public SerializedConnection.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 = 5 [(.google.api.field_behavior) = OPTIONAL];

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

addDestinationComponentParameters(int index, Parameter.Builder builderForValue)

public SerializedConnection.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 = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Parameter.Builder
Returns
Type Description
SerializedConnection.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 = 5 [(.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 = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Parameter.Builder

addSourceComponentParameters(Parameter value)

public SerializedConnection.Builder addSourceComponentParameters(Parameter value)

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

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

Parameter
Name Description
value Parameter
Returns
Type Description
SerializedConnection.Builder

addSourceComponentParameters(Parameter.Builder builderForValue)

public SerializedConnection.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

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

addSourceComponentParameters(int index, Parameter value)

public SerializedConnection.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

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

addSourceComponentParameters(int index, Parameter.Builder builderForValue)

public SerializedConnection.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Parameter.Builder
Returns
Type Description
SerializedConnection.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 = 4 [(.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Parameter.Builder

build()

public SerializedConnection build()
Returns
Type Description
SerializedConnection

buildPartial()

public SerializedConnection buildPartial()
Returns
Type Description
SerializedConnection

clear()

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

clearDependencyType()

public SerializedConnection.Builder clearDependencyType()

Output only. The type of the connection (data or logical).

.google.cloud.designcenter.v1.ConnectionDependencyType dependency_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SerializedConnection.Builder

This builder for chaining.

clearDestinationComponentParameters()

public SerializedConnection.Builder clearDestinationComponentParameters()

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

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

Returns
Type Description
SerializedConnection.Builder

clearDestinationComponentUri()

public SerializedConnection.Builder clearDestinationComponentUri()

Optional. The destination component URI used to generate the connection.

string destination_component_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SerializedConnection.Builder

This builder for chaining.

clearSourceComponentParameters()

public SerializedConnection.Builder clearSourceComponentParameters()

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

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

Returns
Type Description
SerializedConnection.Builder

clearUri()

public SerializedConnection.Builder clearUri()

Optional. The connection URI.

string uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SerializedConnection.Builder

This builder for chaining.

getDefaultInstanceForType()

public SerializedConnection getDefaultInstanceForType()
Returns
Type Description
SerializedConnection

getDependencyType()

public ConnectionDependencyType getDependencyType()

Output only. The type of the connection (data or logical).

.google.cloud.designcenter.v1.ConnectionDependencyType dependency_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ConnectionDependencyType

The dependencyType.

getDependencyTypeValue()

public int getDependencyTypeValue()

Output only. The type of the connection (data or logical).

.google.cloud.designcenter.v1.ConnectionDependencyType dependency_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for dependencyType.

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 = 5 [(.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 = 5 [(.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 = 5 [(.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 = 5 [(.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 = 5 [(.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 = 5 [(.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 = 5 [(.google.api.field_behavior) = OPTIONAL];

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

getDestinationComponentUri()

public String getDestinationComponentUri()

Optional. The destination component URI used to generate the connection.

string destination_component_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The destinationComponentUri.

getDestinationComponentUriBytes()

public ByteString getDestinationComponentUriBytes()

Optional. The destination component URI used to generate the connection.

string destination_component_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for destinationComponentUri.

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 = 4 [(.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 = 4 [(.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 = 4 [(.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 = 4 [(.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 = 4 [(.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 = 4 [(.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

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

getUri()

public String getUri()

Optional. The connection URI.

string uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Optional. The connection URI.

string uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SerializedConnection other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeDestinationComponentParameters(int index)

public SerializedConnection.Builder removeDestinationComponentParameters(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
SerializedConnection.Builder

removeSourceComponentParameters(int index)

public SerializedConnection.Builder removeSourceComponentParameters(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
SerializedConnection.Builder

setDependencyType(ConnectionDependencyType value)

public SerializedConnection.Builder setDependencyType(ConnectionDependencyType value)

Output only. The type of the connection (data or logical).

.google.cloud.designcenter.v1.ConnectionDependencyType dependency_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ConnectionDependencyType

The dependencyType to set.

Returns
Type Description
SerializedConnection.Builder

This builder for chaining.

setDependencyTypeValue(int value)

public SerializedConnection.Builder setDependencyTypeValue(int value)

Output only. The type of the connection (data or logical).

.google.cloud.designcenter.v1.ConnectionDependencyType dependency_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for dependencyType to set.

Returns
Type Description
SerializedConnection.Builder

This builder for chaining.

setDestinationComponentParameters(int index, Parameter value)

public SerializedConnection.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 = 5 [(.google.api.field_behavior) = OPTIONAL];

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

setDestinationComponentParameters(int index, Parameter.Builder builderForValue)

public SerializedConnection.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 = 5 [(.google.api.field_behavior) = OPTIONAL];

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

setDestinationComponentUri(String value)

public SerializedConnection.Builder setDestinationComponentUri(String value)

Optional. The destination component URI used to generate the connection.

string destination_component_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The destinationComponentUri to set.

Returns
Type Description
SerializedConnection.Builder

This builder for chaining.

setDestinationComponentUriBytes(ByteString value)

public SerializedConnection.Builder setDestinationComponentUriBytes(ByteString value)

Optional. The destination component URI used to generate the connection.

string destination_component_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for destinationComponentUri to set.

Returns
Type Description
SerializedConnection.Builder

This builder for chaining.

setSourceComponentParameters(int index, Parameter value)

public SerializedConnection.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

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

setSourceComponentParameters(int index, Parameter.Builder builderForValue)

public SerializedConnection.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

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

setUri(String value)

public SerializedConnection.Builder setUri(String value)

Optional. The connection URI.

string uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
SerializedConnection.Builder

This builder for chaining.

setUriBytes(ByteString value)

public SerializedConnection.Builder setUriBytes(ByteString value)

Optional. The connection URI.

string uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
SerializedConnection.Builder

This builder for chaining.