- 0.53.0 (latest)
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.5
- 0.2.1
- 0.1.2
public static final class VpcAccess.Builder extends GeneratedMessageV3.Builder<VpcAccess.Builder> implements VpcAccessOrBuilder
VPC Access settings. For more information on creating a VPC Connector, visit https://cloud.google.com/vpc/docs/configure-serverless-vpc-access For information on how to configure Cloud Run with an existing VPC Connector, visit https://cloud.google.com/run/docs/configuring/connecting-vpc
Protobuf type google.cloud.run.v2.VpcAccess
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VpcAccess.BuilderImplements
VpcAccessOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpcAccess.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VpcAccess.Builder |
build()
public VpcAccess build()
Type | Description |
VpcAccess |
buildPartial()
public VpcAccess buildPartial()
Type | Description |
VpcAccess |
clear()
public VpcAccess.Builder clear()
Type | Description |
VpcAccess.Builder |
clearConnector()
public VpcAccess.Builder clearConnector()
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}
string connector = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
VpcAccess.Builder | This builder for chaining. |
clearEgress()
public VpcAccess.Builder clearEgress()
Traffic VPC egress settings.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
Type | Description |
VpcAccess.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VpcAccess.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
VpcAccess.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public VpcAccess.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
VpcAccess.Builder |
clone()
public VpcAccess.Builder clone()
Type | Description |
VpcAccess.Builder |
getConnector()
public String getConnector()
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}
string connector = 1 [(.google.api.resource_reference) = { ... }
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) = { ... }
Type | Description |
ByteString | The bytes for connector. |
getDefaultInstanceForType()
public VpcAccess getDefaultInstanceForType()
Type | Description |
VpcAccess |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEgress()
public VpcAccess.VpcEgress getEgress()
Traffic VPC egress settings.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
Type | Description |
VpcAccess.VpcEgress | The egress. |
getEgressValue()
public int getEgressValue()
Traffic VPC egress settings.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
Type | Description |
int | The enum numeric value on the wire for egress. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(VpcAccess other)
public VpcAccess.Builder mergeFrom(VpcAccess other)
Name | Description |
other | VpcAccess |
Type | Description |
VpcAccess.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VpcAccess.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
VpcAccess.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public VpcAccess.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
VpcAccess.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpcAccess.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VpcAccess.Builder |
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) = { ... }
Name | Description |
value | String The connector to set. |
Type | Description |
VpcAccess.Builder | This builder for chaining. |
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) = { ... }
Name | Description |
value | ByteString The bytes for connector to set. |
Type | Description |
VpcAccess.Builder | This builder for chaining. |
setEgress(VpcAccess.VpcEgress value)
public VpcAccess.Builder setEgress(VpcAccess.VpcEgress value)
Traffic VPC egress settings.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
Name | Description |
value | VpcAccess.VpcEgress The egress to set. |
Type | Description |
VpcAccess.Builder | This builder for chaining. |
setEgressValue(int value)
public VpcAccess.Builder setEgressValue(int value)
Traffic VPC egress settings.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
Name | Description |
value | int The enum numeric value on the wire for egress to set. |
Type | Description |
VpcAccess.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VpcAccess.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VpcAccess.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VpcAccess.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
VpcAccess.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VpcAccess.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VpcAccess.Builder |