Class ServiceConnectionMap.ConsumerPscConnection (0.14.1)

public static final class ServiceConnectionMap.ConsumerPscConnection extends GeneratedMessageV3 implements ServiceConnectionMap.ConsumerPscConnectionOrBuilder

PSC connection details on consumer side.

Protobuf type google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ServiceConnectionMap.ConsumerPscConnection

Static Fields

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
TypeDescription
int

ERROR_TYPE_FIELD_NUMBER

public static final int ERROR_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

FORWARDING_RULE_FIELD_NUMBER

public static final int FORWARDING_RULE_FIELD_NUMBER
Field Value
TypeDescription
int

GCE_OPERATION_FIELD_NUMBER

public static final int GCE_OPERATION_FIELD_NUMBER
Field Value
TypeDescription
int

IP_FIELD_NUMBER

public static final int IP_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_FIELD_NUMBER

public static final int PROJECT_FIELD_NUMBER
Field Value
TypeDescription
int

PSC_CONNECTION_ID_FIELD_NUMBER

public static final int PSC_CONNECTION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_ATTACHMENT_URI_FIELD_NUMBER

public static final int SERVICE_ATTACHMENT_URI_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ServiceConnectionMap.ConsumerPscConnection getDefaultInstance()
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ServiceConnectionMap.ConsumerPscConnection.Builder newBuilder()
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection.Builder

newBuilder(ServiceConnectionMap.ConsumerPscConnection prototype)

public static ServiceConnectionMap.ConsumerPscConnection.Builder newBuilder(ServiceConnectionMap.ConsumerPscConnection prototype)
Parameter
NameDescription
prototypeServiceConnectionMap.ConsumerPscConnection
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection.Builder

parseDelimitedFrom(InputStream input)

public static ServiceConnectionMap.ConsumerPscConnection parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceConnectionMap.ConsumerPscConnection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ServiceConnectionMap.ConsumerPscConnection parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ServiceConnectionMap.ConsumerPscConnection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ServiceConnectionMap.ConsumerPscConnection parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ServiceConnectionMap.ConsumerPscConnection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ServiceConnectionMap.ConsumerPscConnection parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceConnectionMap.ConsumerPscConnection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ServiceConnectionMap.ConsumerPscConnection parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceConnectionMap.ConsumerPscConnection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ServiceConnectionMap.ConsumerPscConnection parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ServiceConnectionMap.ConsumerPscConnection parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ServiceConnectionMap.ConsumerPscConnection> parser()
Returns
TypeDescription
Parser<ConsumerPscConnection>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ServiceConnectionMap.ConsumerPscConnection getDefaultInstanceForType()
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection

getError()

public Status getError()

The most recent error during operating this connection.

.google.rpc.Status error = 8;

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

The most recent error during operating this connection.

.google.rpc.Status error = 8;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getErrorType()

public 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
TypeDescription
ConnectionErrorType

The errorType.

getErrorTypeValue()

public 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
TypeDescription
int

The enum numeric value on the wire for errorType.

getForwardingRule()

public String getForwardingRule()

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

string forwarding_rule = 10;

Returns
TypeDescription
String

The forwardingRule.

getForwardingRuleBytes()

public ByteString getForwardingRuleBytes()

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

string forwarding_rule = 10;

Returns
TypeDescription
ByteString

The bytes for forwardingRule.

getGceOperation()

public String getGceOperation()

The last Compute Engine operation to setup PSC connection.

string gce_operation = 9;

Returns
TypeDescription
String

The gceOperation.

getGceOperationBytes()

public ByteString getGceOperationBytes()

The last Compute Engine operation to setup PSC connection.

string gce_operation = 9;

Returns
TypeDescription
ByteString

The bytes for gceOperation.

getIp()

public 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
TypeDescription
String

The ip.

getIpBytes()

public 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
TypeDescription
ByteString

The bytes for ip.

getNetwork()

public 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
TypeDescription
String

The network.

getNetworkBytes()

public 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
TypeDescription
ByteString

The bytes for network.

getParserForType()

public Parser<ServiceConnectionMap.ConsumerPscConnection> getParserForType()
Returns
TypeDescription
Parser<ConsumerPscConnection>
Overrides

getProject()

public String getProject()

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

string project = 3;

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

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

string project = 3;

Returns
TypeDescription
ByteString

The bytes for project.

getPscConnectionId()

public 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
TypeDescription
String

The pscConnectionId.

getPscConnectionIdBytes()

public 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
TypeDescription
ByteString

The bytes for pscConnectionId.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServiceAttachmentUri()

public String getServiceAttachmentUri()

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

string service_attachment_uri = 1;

Returns
TypeDescription
String

The serviceAttachmentUri.

getServiceAttachmentUriBytes()

public ByteString getServiceAttachmentUriBytes()

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

string service_attachment_uri = 1;

Returns
TypeDescription
ByteString

The bytes for serviceAttachmentUri.

getState()

public ServiceConnectionMap.ConsumerPscConnection.State getState()

The state of the PSC connection.

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

Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection.State

The state.

getStateValue()

public int getStateValue()

The state of the PSC connection.

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasError()

public boolean hasError()

The most recent error during operating this connection.

.google.rpc.Status error = 8;

Returns
TypeDescription
boolean

Whether the error field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ServiceConnectionMap.ConsumerPscConnection.Builder newBuilderForType()
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ServiceConnectionMap.ConsumerPscConnection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ServiceConnectionMap.ConsumerPscConnection.Builder toBuilder()
Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConnection.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException