Interface ServiceConnectionPolicy.PscConnectionOrBuilder (0.14.1)

public static interface ServiceConnectionPolicy.PscConnectionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConsumerAddress()

public abstract String getConsumerAddress()

The resource reference of the consumer address.

string consumer_address = 3;

Returns
TypeDescription
String

The consumerAddress.

getConsumerAddressBytes()

public abstract ByteString getConsumerAddressBytes()

The resource reference of the consumer address.

string consumer_address = 3;

Returns
TypeDescription
ByteString

The bytes for consumerAddress.

getConsumerForwardingRule()

public abstract String getConsumerForwardingRule()

The resource reference of the PSC Forwarding Rule within the consumer VPC.

string consumer_forwarding_rule = 2;

Returns
TypeDescription
String

The consumerForwardingRule.

getConsumerForwardingRuleBytes()

public abstract ByteString getConsumerForwardingRuleBytes()

The resource reference of the PSC Forwarding Rule within the consumer VPC.

string consumer_forwarding_rule = 2;

Returns
TypeDescription
ByteString

The bytes for consumerForwardingRule.

getConsumerTargetProject()

public abstract String getConsumerTargetProject()

The project where the PSC connection is created.

string consumer_target_project = 7;

Returns
TypeDescription
String

The consumerTargetProject.

getConsumerTargetProjectBytes()

public abstract ByteString getConsumerTargetProjectBytes()

The project where the PSC connection is created.

string consumer_target_project = 7;

Returns
TypeDescription
ByteString

The bytes for consumerTargetProject.

getError()

public abstract Status getError()

The most recent error during operating this connection.

.google.rpc.Status error = 5;

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

The most recent error during operating this connection.

.google.rpc.Status error = 5;

Returns
TypeDescription
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 = 4;

Returns
TypeDescription
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 = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for errorType.

getGceOperation()

public abstract String getGceOperation()

The last Compute Engine operation to setup PSC connection.

string gce_operation = 6;

Returns
TypeDescription
String

The gceOperation.

getGceOperationBytes()

public abstract ByteString getGceOperationBytes()

The last Compute Engine operation to setup PSC connection.

string gce_operation = 6;

Returns
TypeDescription
ByteString

The bytes for gceOperation.

getPscConnectionId()

public abstract String getPscConnectionId()

The PSC connection id of the PSC forwarding rule.

string psc_connection_id = 8;

Returns
TypeDescription
String

The pscConnectionId.

getPscConnectionIdBytes()

public abstract ByteString getPscConnectionIdBytes()

The PSC connection id of the PSC forwarding rule.

string psc_connection_id = 8;

Returns
TypeDescription
ByteString

The bytes for pscConnectionId.

getState()

public abstract ServiceConnectionPolicy.State getState()

State of the PSC Connection

.google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.State state = 1;

Returns
TypeDescription
ServiceConnectionPolicy.State

The state.

getStateValue()

public abstract int getStateValue()

State of the PSC Connection

.google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.State state = 1;

Returns
TypeDescription
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 = 5;

Returns
TypeDescription
boolean

Whether the error field is set.