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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpcAccessConnector.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public VpcAccessConnector build()
Returns
buildPartial()
public VpcAccessConnector buildPartial()
Returns
clear()
public VpcAccessConnector.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public VpcAccessConnector.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public VpcAccessConnector.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public VpcAccessConnector.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public VpcAccessConnector getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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()
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(VpcAccessConnector other)
public VpcAccessConnector.Builder mergeFrom(VpcAccessConnector other)
Parameter
Returns
public VpcAccessConnector.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VpcAccessConnector.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpcAccessConnector.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public VpcAccessConnector.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VpcAccessConnector.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VpcAccessConnector.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides