Class ConnectionParameters.Builder (0.3.0)

public static final class ConnectionParameters.Builder extends GeneratedMessage.Builder<ConnectionParameters.Builder> implements ConnectionParametersOrBuilder

Connection level parameters associated with each component within an application.

Protobuf type google.cloud.designcenter.v1.ConnectionParameters

Static Methods

getDescriptor()

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

Methods

addAllParameters(Iterable<? extends Parameter> values)

public ConnectionParameters.Builder addAllParameters(Iterable<? extends Parameter> values)

Optional. A list of parameters associated with the connection.

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

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

addParameters(Parameter value)

public ConnectionParameters.Builder addParameters(Parameter value)

Optional. A list of parameters associated with the connection.

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

Parameter
Name Description
value Parameter
Returns
Type Description
ConnectionParameters.Builder

addParameters(Parameter.Builder builderForValue)

public ConnectionParameters.Builder addParameters(Parameter.Builder builderForValue)

Optional. A list of parameters associated with the connection.

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

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

addParameters(int index, Parameter value)

public ConnectionParameters.Builder addParameters(int index, Parameter value)

Optional. A list of parameters associated with the connection.

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

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

addParameters(int index, Parameter.Builder builderForValue)

public ConnectionParameters.Builder addParameters(int index, Parameter.Builder builderForValue)

Optional. A list of parameters associated with the connection.

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

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

addParametersBuilder()

public Parameter.Builder addParametersBuilder()

Optional. A list of parameters associated with the connection.

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

Returns
Type Description
Parameter.Builder

addParametersBuilder(int index)

public Parameter.Builder addParametersBuilder(int index)

Optional. A list of parameters associated with the connection.

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

Parameter
Name Description
index int
Returns
Type Description
Parameter.Builder

build()

public ConnectionParameters build()
Returns
Type Description
ConnectionParameters

buildPartial()

public ConnectionParameters buildPartial()
Returns
Type Description
ConnectionParameters

clear()

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

clearConnection()

public ConnectionParameters.Builder clearConnection()

Required. The name of the connection parameter.

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

Returns
Type Description
ConnectionParameters.Builder

This builder for chaining.

clearParameters()

public ConnectionParameters.Builder clearParameters()

Optional. A list of parameters associated with the connection.

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

Returns
Type Description
ConnectionParameters.Builder

getConnection()

public String getConnection()

Required. The name of the connection parameter.

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

Returns
Type Description
String

The connection.

getConnectionBytes()

public ByteString getConnectionBytes()

Required. The name of the connection parameter.

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

Returns
Type Description
ByteString

The bytes for connection.

getDefaultInstanceForType()

public ConnectionParameters getDefaultInstanceForType()
Returns
Type Description
ConnectionParameters

getDescriptorForType()

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

getParameters(int index)

public Parameter getParameters(int index)

Optional. A list of parameters associated with the connection.

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

Parameter
Name Description
index int
Returns
Type Description
Parameter

getParametersBuilder(int index)

public Parameter.Builder getParametersBuilder(int index)

Optional. A list of parameters associated with the connection.

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

Parameter
Name Description
index int
Returns
Type Description
Parameter.Builder

getParametersBuilderList()

public List<Parameter.Builder> getParametersBuilderList()

Optional. A list of parameters associated with the connection.

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

Returns
Type Description
List<Builder>

getParametersCount()

public int getParametersCount()

Optional. A list of parameters associated with the connection.

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

Returns
Type Description
int

getParametersList()

public List<Parameter> getParametersList()

Optional. A list of parameters associated with the connection.

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

Returns
Type Description
List<Parameter>

getParametersOrBuilder(int index)

public ParameterOrBuilder getParametersOrBuilder(int index)

Optional. A list of parameters associated with the connection.

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

Parameter
Name Description
index int
Returns
Type Description
ParameterOrBuilder

getParametersOrBuilderList()

public List<? extends ParameterOrBuilder> getParametersOrBuilderList()

Optional. A list of parameters associated with the connection.

repeated .google.cloud.designcenter.v1.Parameter 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(ConnectionParameters other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeParameters(int index)

public ConnectionParameters.Builder removeParameters(int index)

Optional. A list of parameters associated with the connection.

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

Parameter
Name Description
index int
Returns
Type Description
ConnectionParameters.Builder

setConnection(String value)

public ConnectionParameters.Builder setConnection(String value)

Required. The name of the connection parameter.

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

Parameter
Name Description
value String

The connection to set.

Returns
Type Description
ConnectionParameters.Builder

This builder for chaining.

setConnectionBytes(ByteString value)

public ConnectionParameters.Builder setConnectionBytes(ByteString value)

Required. The name of the connection parameter.

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

Parameter
Name Description
value ByteString

The bytes for connection to set.

Returns
Type Description
ConnectionParameters.Builder

This builder for chaining.

setParameters(int index, Parameter value)

public ConnectionParameters.Builder setParameters(int index, Parameter value)

Optional. A list of parameters associated with the connection.

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

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

setParameters(int index, Parameter.Builder builderForValue)

public ConnectionParameters.Builder setParameters(int index, Parameter.Builder builderForValue)

Optional. A list of parameters associated with the connection.

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

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