Class VpcAccessConnector (2.21.0)

public final class VpcAccessConnector extends GeneratedMessageV3 implements VpcAccessConnectorOrBuilder

VPC access connector specification.

Protobuf type google.appengine.v1.VpcAccessConnector

Static Fields

EGRESS_SETTING_FIELD_NUMBER

public static final int EGRESS_SETTING_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VpcAccessConnector getDefaultInstance()
Returns
TypeDescription
VpcAccessConnector

getDescriptor()

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

newBuilder()

public static VpcAccessConnector.Builder newBuilder()
Returns
TypeDescription
VpcAccessConnector.Builder

newBuilder(VpcAccessConnector prototype)

public static VpcAccessConnector.Builder newBuilder(VpcAccessConnector prototype)
Parameter
NameDescription
prototypeVpcAccessConnector
Returns
TypeDescription
VpcAccessConnector.Builder

parseDelimitedFrom(InputStream input)

public static VpcAccessConnector parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VpcAccessConnector
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static VpcAccessConnector parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VpcAccessConnector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static VpcAccessConnector parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VpcAccessConnector
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static VpcAccessConnector parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VpcAccessConnector
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static VpcAccessConnector parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VpcAccessConnector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<VpcAccessConnector> parser()
Returns
TypeDescription
Parser<VpcAccessConnector>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public VpcAccessConnector getDefaultInstanceForType()
Returns
TypeDescription
VpcAccessConnector

getEgressSetting()

public VpcAccessConnector.EgressSetting getEgressSetting()

The egress setting for the connector, controlling what traffic is diverted through it.

.google.appengine.v1.VpcAccessConnector.EgressSetting egress_setting = 2;

Returns
TypeDescription
VpcAccessConnector.EgressSetting

The egressSetting.

getEgressSettingValue()

public int getEgressSettingValue()

The egress setting for the connector, controlling what traffic is diverted through it.

.google.appengine.v1.VpcAccessConnector.EgressSetting egress_setting = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for egressSetting.

getName()

public String getName()

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<VpcAccessConnector> getParserForType()
Returns
TypeDescription
Parser<VpcAccessConnector>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 VpcAccessConnector.Builder newBuilderForType()
Returns
TypeDescription
VpcAccessConnector.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public VpcAccessConnector.Builder toBuilder()
Returns
TypeDescription
VpcAccessConnector.Builder

writeTo(CodedOutputStream output)

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