Interface ServiceConnectionMap.ConsumerPscConnectionOrBuilder (0.16.0)

public static interface ServiceConnectionMap.ConsumerPscConnectionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getError()

public abstract Status getError()

The most recent error during operating this connection.

.google.rpc.Status error = 8;

Returns
Type Description
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

The most recent error during operating this connection.

.google.rpc.Status error = 8;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getErrorType()

public abstract ConnectionErrorType getErrorType()

The error type indicates whether the error is consumer facing, producer facing or system internal.

.google.events.cloud.networkconnectivity.v1.ConnectionErrorType error_type = 7;

Returns
Type Description
ConnectionErrorType

The errorType.

getErrorTypeValue()

public abstract int getErrorTypeValue()

The error type indicates whether the error is consumer facing, producer facing or system internal.

.google.events.cloud.networkconnectivity.v1.ConnectionErrorType error_type = 7;

Returns
Type Description
int

The enum numeric value on the wire for errorType.

getForwardingRule()

public abstract String getForwardingRule()

The URI of the consumer forwarding rule created. Example: projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.

string forwarding_rule = 10;

Returns
Type Description
String

The forwardingRule.

getForwardingRuleBytes()

public abstract ByteString getForwardingRuleBytes()

The URI of the consumer forwarding rule created. Example: projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.

string forwarding_rule = 10;

Returns
Type Description
ByteString

The bytes for forwardingRule.

getGceOperation()

public abstract String getGceOperation()

The last Compute Engine operation to setup PSC connection.

string gce_operation = 9;

Returns
Type Description
String

The gceOperation.

getGceOperationBytes()

public abstract ByteString getGceOperationBytes()

The last Compute Engine operation to setup PSC connection.

string gce_operation = 9;

Returns
Type Description
ByteString

The bytes for gceOperation.

getIp()

public abstract String getIp()

The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.

string ip = 6;

Returns
Type Description
String

The ip.

getIpBytes()

public abstract ByteString getIpBytes()

The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.

string ip = 6;

Returns
Type Description
ByteString

The bytes for ip.

getNetwork()

public abstract String getNetwork()

The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).

string network = 4;

Returns
Type Description
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).

string network = 4;

Returns
Type Description
ByteString

The bytes for network.

getProject()

public abstract String getProject()

The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.

string project = 3;

Returns
Type Description
String

The project.

getProjectBytes()

public abstract ByteString getProjectBytes()

The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.

string project = 3;

Returns
Type Description
ByteString

The bytes for project.

getPscConnectionId()

public abstract String getPscConnectionId()

The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map.

string psc_connection_id = 5;

Returns
Type Description
String

The pscConnectionId.

getPscConnectionIdBytes()

public abstract ByteString getPscConnectionIdBytes()

The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map.

string psc_connection_id = 5;

Returns
Type Description
ByteString

The bytes for pscConnectionId.

getServiceAttachmentUri()

public abstract String getServiceAttachmentUri()

The URI of a service attachment which is the target of the PSC connection.

string service_attachment_uri = 1;

Returns
Type Description
String

The serviceAttachmentUri.

getServiceAttachmentUriBytes()

public abstract ByteString getServiceAttachmentUriBytes()

The URI of a service attachment which is the target of the PSC connection.

string service_attachment_uri = 1;

Returns
Type Description
ByteString

The bytes for serviceAttachmentUri.

getState()

public abstract ServiceConnectionMap.ConsumerPscConnection.State getState()

The state of the PSC connection.

.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection.State state = 2;

Returns
Type Description
ServiceConnectionMap.ConsumerPscConnection.State

The state.

getStateValue()

public abstract int getStateValue()

The state of the PSC connection.

.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection.State state = 2;

Returns
Type Description
int

The enum numeric value on the wire for state.

hasError()

public abstract boolean hasError()

The most recent error during operating this connection.

.google.rpc.Status error = 8;

Returns
Type Description
boolean

Whether the error field is set.