Class Connection (0.3.0)

public final class Connection extends GeneratedMessage implements ConnectionOrBuilder

Connection resource.

Protobuf type google.cloud.designcenter.v1.Connection

Implements

ConnectionOrBuilder

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

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

NAME_FIELD_NUMBER

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

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Connection getDefaultInstance()
Returns
Type Description
Connection

getDescriptor()

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

newBuilder()

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

newBuilder(Connection prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCreateTime()

public Timestamp getCreateTime()

Output only. The connection creation timestamp.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The connection creation timestamp.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Connection getDefaultInstanceForType()
Returns
Type Description
Connection

getDependencyType()

public ConnectionDependencyType getDependencyType()

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

.google.cloud.designcenter.v1.ConnectionDependencyType dependency_type = 8 [(.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 = 8 [(.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 = 7 [(.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 = 7 [(.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 = 7 [(.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 = 7 [(.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 = 7 [(.google.api.field_behavior) = OPTIONAL];

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

getDestinationComponentUri()

public String getDestinationComponentUri()

Required. The destination component URI used to generate the connection. Format is projects/$project/locations/$location/spaces/$space/applicationTemplates/$application_template/components/$component

string destination_component_uri = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The destinationComponentUri.

getDestinationComponentUriBytes()

public ByteString getDestinationComponentUriBytes()

Required. The destination component URI used to generate the connection. Format is projects/$project/locations/$location/spaces/$space/applicationTemplates/$application_template/components/$component

string destination_component_uri = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for destinationComponentUri.

getName()

public String getName()

Identifier. The connection name.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The connection name.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<Connection> getParserForType()
Returns
Type Description
Parser<Connection>
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 = 6 [(.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 = 6 [(.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 = 6 [(.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 = 6 [(.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 = 6 [(.google.api.field_behavior) = OPTIONAL];

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

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The connection update timestamp.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The connection update timestamp.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The connection creation timestamp.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The connection update timestamp.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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