Interface ConnectionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Connection
,Connection.Builder
public interface ConnectionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Cluster
getCluster()
Cluster information.ClusterOrBuilder
getClusterOrBuilder()
Cluster information.String
getEndpoint()
The endpoint that the connection is made against.com.google.protobuf.ByteString
getEndpointBytes()
The endpoint that the connection is made against.int
getStreamCount()
The count of streams.boolean
hasCluster()
Cluster information.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEndpoint
String getEndpoint()
The endpoint that the connection is made against. Format: `projects/{project_number}/endpoints/{endpoint}`
string endpoint = 1;
- Returns:
- The endpoint.
-
getEndpointBytes
com.google.protobuf.ByteString getEndpointBytes()
The endpoint that the connection is made against. Format: `projects/{project_number}/endpoints/{endpoint}`
string endpoint = 1;
- Returns:
- The bytes for endpoint.
-
hasCluster
boolean hasCluster()
Cluster information.
.google.cloud.apigeeconnect.v1.Cluster cluster = 2;
- Returns:
- Whether the cluster field is set.
-
getCluster
Cluster getCluster()
Cluster information.
.google.cloud.apigeeconnect.v1.Cluster cluster = 2;
- Returns:
- The cluster.
-
getClusterOrBuilder
ClusterOrBuilder getClusterOrBuilder()
Cluster information.
.google.cloud.apigeeconnect.v1.Cluster cluster = 2;
-
getStreamCount
int getStreamCount()
The count of streams.
int32 stream_count = 3;
- Returns:
- The streamCount.
-
-