Class SerializedConnection (0.3.0)

public final class SerializedConnection extends GeneratedMessage implements SerializedConnectionOrBuilder

Serialized connection.

Protobuf type google.cloud.designcenter.v1.SerializedConnection

Static Fields

DEPENDENCY_TYPE_FIELD_NUMBER

public static final int DEPENDENCY_TYPE_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

DESTINATION_COMPONENT_URI_FIELD_NUMBER

public static final int DESTINATION_COMPONENT_URI_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

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SerializedConnection getDefaultInstance()
Returns
Type Description
SerializedConnection

getDescriptor()

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

newBuilder()

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

newBuilder(SerializedConnection prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

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.

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

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.

getParserForType()

public Parser<SerializedConnection> getParserForType()
Returns
Type Description
Parser<SerializedConnection>
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 = 4 [(.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 = 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.

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 SerializedConnection.Builder newBuilderForType()
Returns
Type Description
SerializedConnection.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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