public static interface ServiceConnectionPolicy.PscConnectionOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getConsumerAddress()
public abstract String getConsumerAddress()
The resource reference of the consumer address.
string consumer_address = 3;
Returns | |
---|---|
Type | Description |
String |
The consumerAddress. |
getConsumerAddressBytes()
public abstract ByteString getConsumerAddressBytes()
The resource reference of the consumer address.
string consumer_address = 3;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString |
The bytes for consumerForwardingRule. |
getConsumerTargetProject()
public abstract String getConsumerTargetProject()
The project where the PSC connection is created.
string consumer_target_project = 7;
Returns | |
---|---|
Type | Description |
String |
The consumerTargetProject. |
getConsumerTargetProjectBytes()
public abstract ByteString getConsumerTargetProjectBytes()
The project where the PSC connection is created.
string consumer_target_project = 7;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for consumerTargetProject. |
getError()
public abstract Status getError()
The most recent error during operating this connection.
.google.rpc.Status error = 5;
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 = 5;
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 = 4;
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 = 4;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
The gceOperation. |
getGceOperationBytes()
public abstract ByteString getGceOperationBytes()
The last Compute Engine operation to setup PSC connection.
string gce_operation = 6;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
The pscConnectionId. |
getPscConnectionIdBytes()
public abstract ByteString getPscConnectionIdBytes()
The PSC connection id of the PSC forwarding rule.
string psc_connection_id = 8;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ServiceConnectionPolicy.State |
The state. |
getStateValue()
public abstract int getStateValue()
State of the PSC Connection
.google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.State state = 1;
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 = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the error field is set. |