Send feedback
Class ServiceConnectionPolicy.PscConnection (0.14.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.14.1 keyboard_arrow_down
public static final class ServiceConnectionPolicy . PscConnection extends GeneratedMessageV3 implements ServiceConnectionPolicy . PscConnectionOrBuilder
Information about a specific Private Service Connect connection.
Protobuf type
google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConnection
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CONSUMER_ADDRESS_FIELD_NUMBER
public static final int CONSUMER_ADDRESS_FIELD_NUMBER
Field Value Type Description int
CONSUMER_FORWARDING_RULE_FIELD_NUMBER
public static final int CONSUMER_FORWARDING_RULE_FIELD_NUMBER
Field Value Type Description int
CONSUMER_TARGET_PROJECT_FIELD_NUMBER
public static final int CONSUMER_TARGET_PROJECT_FIELD_NUMBER
Field Value Type Description int
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
Field Value Type Description int
ERROR_TYPE_FIELD_NUMBER
public static final int ERROR_TYPE_FIELD_NUMBER
Field Value Type Description int
GCE_OPERATION_FIELD_NUMBER
public static final int GCE_OPERATION_FIELD_NUMBER
Field Value Type Description int
PSC_CONNECTION_ID_FIELD_NUMBER
public static final int PSC_CONNECTION_ID_FIELD_NUMBER
Field Value Type Description int
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static ServiceConnectionPolicy . PscConnection getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ServiceConnectionPolicy . PscConnection . Builder newBuilder ()
newBuilder(ServiceConnectionPolicy.PscConnection prototype)
public static ServiceConnectionPolicy . PscConnection . Builder newBuilder ( ServiceConnectionPolicy . PscConnection prototype )
public static ServiceConnectionPolicy . PscConnection parseDelimitedFrom ( InputStream input )
public static ServiceConnectionPolicy . PscConnection parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ServiceConnectionPolicy . PscConnection parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ServiceConnectionPolicy . PscConnection parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ServiceConnectionPolicy . PscConnection parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServiceConnectionPolicy . PscConnection parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ServiceConnectionPolicy . PscConnection parseFrom ( CodedInputStream input )
public static ServiceConnectionPolicy . PscConnection parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ServiceConnectionPolicy . PscConnection parseFrom ( InputStream input )
public static ServiceConnectionPolicy . PscConnection parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ServiceConnectionPolicy . PscConnection parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ServiceConnectionPolicy . PscConnection parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ServiceConnectionPolicy . PscConnection > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getConsumerAddress()
public String getConsumerAddress ()
The resource reference of the consumer address.
string consumer_address = 3;
Returns Type Description String
The consumerAddress.
getConsumerAddressBytes()
public ByteString getConsumerAddressBytes ()
The resource reference of the consumer address.
string consumer_address = 3;
Returns Type Description ByteString
The bytes for consumerAddress.
getConsumerForwardingRule()
public 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 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 String getConsumerTargetProject ()
The project where the PSC connection is created.
string consumer_target_project = 7;
Returns Type Description String
The consumerTargetProject.
getConsumerTargetProjectBytes()
public ByteString getConsumerTargetProjectBytes ()
The project where the PSC connection is created.
string consumer_target_project = 7;
Returns Type Description ByteString
The bytes for consumerTargetProject.
getDefaultInstanceForType()
public ServiceConnectionPolicy . PscConnection getDefaultInstanceForType ()
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 StatusOrBuilder getErrorOrBuilder ()
The most recent error during operating this connection.
.google.rpc.Status error = 5;
Returns Type Description 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 = 4;
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 = 4;
Returns Type Description int
The enum numeric value on the wire for errorType.
getGceOperation()
public String getGceOperation ()
The last Compute Engine operation to setup PSC connection.
string gce_operation = 6;
Returns Type Description String
The gceOperation.
getGceOperationBytes()
public ByteString getGceOperationBytes ()
The last Compute Engine operation to setup PSC connection.
string gce_operation = 6;
Returns Type Description ByteString
The bytes for gceOperation.
getParserForType()
public Parser<ServiceConnectionPolicy . PscConnection > getParserForType ()
Overrides
getPscConnectionId()
public String getPscConnectionId ()
The PSC connection id of the PSC forwarding rule.
string psc_connection_id = 8;
Returns Type Description String
The pscConnectionId.
getPscConnectionIdBytes()
public ByteString getPscConnectionIdBytes ()
The PSC connection id of the PSC forwarding rule.
string psc_connection_id = 8;
Returns Type Description ByteString
The bytes for pscConnectionId.
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getState()
public ServiceConnectionPolicy . State getState ()
State of the PSC Connection
.google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.State state = 1;
getStateValue()
public 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.
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hasError()
public 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.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public ServiceConnectionPolicy . PscConnection . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ServiceConnectionPolicy . PscConnection . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public ServiceConnectionPolicy . PscConnection . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]