Class VpcAccessConnector.Builder (2.6.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VpcAccessConnector.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VpcAccessConnector.Builder
Overrides

build()

public VpcAccessConnector build()
Returns
TypeDescription
VpcAccessConnector

buildPartial()

public VpcAccessConnector buildPartial()
Returns
TypeDescription
VpcAccessConnector

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VpcAccessConnector.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
VpcAccessConnector.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VpcAccessConnector.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VpcAccessConnector.Builder
Overrides

clone()

public VpcAccessConnector.Builder clone()
Returns
TypeDescription
VpcAccessConnector.Builder
Overrides

getDefaultInstanceForType()

public VpcAccessConnector getDefaultInstanceForType()
Returns
TypeDescription
VpcAccessConnector

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VpcAccessConnector other)

public VpcAccessConnector.Builder mergeFrom(VpcAccessConnector other)
Parameter
NameDescription
otherVpcAccessConnector
Returns
TypeDescription
VpcAccessConnector.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VpcAccessConnector.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpcAccessConnector.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VpcAccessConnector.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VpcAccessConnector.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VpcAccessConnector.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueVpcAccessConnector.EgressSetting

The egressSetting to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
VpcAccessConnector.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VpcAccessConnector.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VpcAccessConnector.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VpcAccessConnector.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VpcAccessConnector.Builder
Overrides