Class VpcAccessConnector.Builder (2.45.0)

public static final class VpcAccessConnector.Builder extends GeneratedMessageV3.Builder<VpcAccessConnector.Builder> implements VpcAccessConnectorOrBuilder

VPC access connector specification.

Protobuf type google.appengine.v1.VpcAccessConnector

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VpcAccessConnector.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VpcAccessConnector.Builder
Overrides

build()

public VpcAccessConnector build()
Returns
Type Description
VpcAccessConnector

buildPartial()

public VpcAccessConnector buildPartial()
Returns
Type Description
VpcAccessConnector

clear()

public VpcAccessConnector.Builder clear()
Returns
Type Description
VpcAccessConnector.Builder
Overrides

clearEgressSetting()

public VpcAccessConnector.Builder clearEgressSetting()

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

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

Returns
Type Description
VpcAccessConnector.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VpcAccessConnector.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VpcAccessConnector.Builder
Overrides

clearName()

public VpcAccessConnector.Builder clearName()

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

string name = 1;

Returns
Type Description
VpcAccessConnector.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VpcAccessConnector.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VpcAccessConnector.Builder
Overrides

clone()

public VpcAccessConnector.Builder clone()
Returns
Type Description
VpcAccessConnector.Builder
Overrides

getDefaultInstanceForType()

public VpcAccessConnector getDefaultInstanceForType()
Returns
Type Description
VpcAccessConnector

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VpcAccessConnector other)

public VpcAccessConnector.Builder mergeFrom(VpcAccessConnector other)
Parameter
Name Description
other VpcAccessConnector
Returns
Type Description
VpcAccessConnector.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VpcAccessConnector.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VpcAccessConnector.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VpcAccessConnector.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VpcAccessConnector.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VpcAccessConnector.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VpcAccessConnector.Builder
Overrides

setEgressSetting(VpcAccessConnector.EgressSetting value)

public VpcAccessConnector.Builder setEgressSetting(VpcAccessConnector.EgressSetting value)

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

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

Parameter
Name Description
value VpcAccessConnector.EgressSetting

The egressSetting to set.

Returns
Type Description
VpcAccessConnector.Builder

This builder for chaining.

setEgressSettingValue(int value)

public VpcAccessConnector.Builder setEgressSettingValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for egressSetting to set.

Returns
Type Description
VpcAccessConnector.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VpcAccessConnector.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VpcAccessConnector.Builder
Overrides

setName(String value)

public VpcAccessConnector.Builder setName(String value)

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

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
VpcAccessConnector.Builder

This builder for chaining.

setNameBytes(ByteString value)

public VpcAccessConnector.Builder setNameBytes(ByteString value)

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

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
VpcAccessConnector.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VpcAccessConnector.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VpcAccessConnector.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VpcAccessConnector.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VpcAccessConnector.Builder
Overrides