public static final class VpcAccess.Builder extends GeneratedMessageV3.Builder<VpcAccess.Builder> implements VpcAccessOrBuilder
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpcAccess.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public VpcAccess buildPartial()
Returns
clear()
public VpcAccess.Builder clear()
Returns
Overrides
clearConnector()
public VpcAccess.Builder clearConnector()
VPC Access connector name.
Format: projects/{project}/locations/{location}/connectors/{connector}
string connector = 1 [(.google.api.resource_reference) = { ... }
Returns
clearEgress()
public VpcAccess.Builder clearEgress()
Traffic VPC egress settings.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public VpcAccess.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VpcAccess.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public VpcAccess.Builder clone()
Returns
Overrides
getConnector()
public String getConnector()
VPC Access connector name.
Format: projects/{project}/locations/{location}/connectors/{connector}
string connector = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The connector.
|
getConnectorBytes()
public ByteString getConnectorBytes()
VPC Access connector name.
Format: projects/{project}/locations/{location}/connectors/{connector}
string connector = 1 [(.google.api.resource_reference) = { ... }
Returns
getDefaultInstanceForType()
public VpcAccess getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEgress()
public VpcAccess.VpcEgress getEgress()
Traffic VPC egress settings.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
Returns
getEgressValue()
public int getEgressValue()
Traffic VPC egress settings.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for egress.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(VpcAccess other)
public VpcAccess.Builder mergeFrom(VpcAccess other)
Parameter
Returns
public VpcAccess.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VpcAccess.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpcAccess.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setConnector(String value)
public VpcAccess.Builder setConnector(String value)
VPC Access connector name.
Format: projects/{project}/locations/{location}/connectors/{connector}
string connector = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The connector to set.
|
Returns
setConnectorBytes(ByteString value)
public VpcAccess.Builder setConnectorBytes(ByteString value)
VPC Access connector name.
Format: projects/{project}/locations/{location}/connectors/{connector}
string connector = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for connector to set.
|
Returns
setEgress(VpcAccess.VpcEgress value)
public VpcAccess.Builder setEgress(VpcAccess.VpcEgress value)
Traffic VPC egress settings.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
Parameter
Returns
setEgressValue(int value)
public VpcAccess.Builder setEgressValue(int value)
Traffic VPC egress settings.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for egress to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public VpcAccess.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VpcAccess.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VpcAccess.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides