Class ConnectionConfig (0.3.0)

public final class ConnectionConfig extends GeneratedMessage implements ConnectionConfigOrBuilder

Connection configuration for the application.

Protobuf type google.cloud.designcenter.v1.ConnectionConfig

Static Fields

CONNECTION_URI_FIELD_NUMBER

public static final int CONNECTION_URI_FIELD_NUMBER
Field Value
Type Description
int

DESTINATION_COMPONENT_PARAMETERS_FIELD_NUMBER

public static final int DESTINATION_COMPONENT_PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_COMPONENT_PARAMETERS_FIELD_NUMBER

public static final int SOURCE_COMPONENT_PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ConnectionConfig getDefaultInstance()
Returns
Type Description
ConnectionConfig

getDescriptor()

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

newBuilder()

public static ConnectionConfig.Builder newBuilder()
Returns
Type Description
ConnectionConfig.Builder

newBuilder(ConnectionConfig prototype)

public static ConnectionConfig.Builder newBuilder(ConnectionConfig prototype)
Parameter
Name Description
prototype ConnectionConfig
Returns
Type Description
ConnectionConfig.Builder

parseDelimitedFrom(InputStream input)

public static ConnectionConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConnectionConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConnectionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ConnectionConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ConnectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConnectionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConnectionConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ConnectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConnectionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConnectionConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ConnectionConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConnectionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ConnectionConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConnectionConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConnectionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ConnectionConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ConnectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConnectionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ConnectionConfig> parser()
Returns
Type Description
Parser<ConnectionConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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

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>

getParserForType()

public Parser<ConnectionConfig> getParserForType()
Returns
Type Description
Parser<ConnectionConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

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>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ConnectionConfig.Builder newBuilderForType()
Returns
Type Description
ConnectionConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ConnectionConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ConnectionConfig.Builder
Overrides

toBuilder()

public ConnectionConfig.Builder toBuilder()
Returns
Type Description
ConnectionConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException