public static final class VpcAccess.Builder extends GeneratedMessageV3.Builder<VpcAccess.Builder> implements VpcAccessOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllNetworkInterfaces(Iterable<? extends VpcAccess.NetworkInterface> values)
public VpcAccess.Builder addAllNetworkInterfaces(Iterable<? extends VpcAccess.NetworkInterface> values)
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.run.v2.VpcAccess.NetworkInterface>
|
addNetworkInterfaces(VpcAccess.NetworkInterface value)
public VpcAccess.Builder addNetworkInterfaces(VpcAccess.NetworkInterface value)
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
addNetworkInterfaces(VpcAccess.NetworkInterface.Builder builderForValue)
public VpcAccess.Builder addNetworkInterfaces(VpcAccess.NetworkInterface.Builder builderForValue)
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
addNetworkInterfaces(int index, VpcAccess.NetworkInterface value)
public VpcAccess.Builder addNetworkInterfaces(int index, VpcAccess.NetworkInterface value)
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
addNetworkInterfaces(int index, VpcAccess.NetworkInterface.Builder builderForValue)
public VpcAccess.Builder addNetworkInterfaces(int index, VpcAccess.NetworkInterface.Builder builderForValue)
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
addNetworkInterfacesBuilder()
public VpcAccess.NetworkInterface.Builder addNetworkInterfacesBuilder()
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
addNetworkInterfacesBuilder(int index)
public VpcAccess.NetworkInterface.Builder addNetworkInterfacesBuilder(int index)
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpcAccess.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public VpcAccess buildPartial()
clear()
public VpcAccess.Builder clear()
Overrides
clearConnector()
public VpcAccess.Builder clearConnector()
VPC Access connector name.
Format: projects/{project}/locations/{location}/connectors/{connector},
where {project} can be project id or number.
For more information on sending traffic to a VPC network via a connector,
visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
string connector = 1 [(.google.api.resource_reference) = { ... }
clearEgress()
public VpcAccess.Builder clearEgress()
Traffic VPC egress settings. If not provided, it defaults to
PRIVATE_RANGES_ONLY.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
clearField(Descriptors.FieldDescriptor field)
public VpcAccess.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNetworkInterfaces()
public VpcAccess.Builder clearNetworkInterfaces()
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public VpcAccess.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public VpcAccess.Builder clone()
Overrides
getConnector()
public String getConnector()
VPC Access connector name.
Format: projects/{project}/locations/{location}/connectors/{connector},
where {project} can be project id or number.
For more information on sending traffic to a VPC network via a connector,
visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
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},
where {project} can be project id or number.
For more information on sending traffic to a VPC network via a connector,
visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
string connector = 1 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for connector.
|
getDefaultInstanceForType()
public VpcAccess getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEgress()
public VpcAccess.VpcEgress getEgress()
Traffic VPC egress settings. If not provided, it defaults to
PRIVATE_RANGES_ONLY.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
getEgressValue()
public int getEgressValue()
Traffic VPC egress settings. If not provided, it defaults to
PRIVATE_RANGES_ONLY.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for egress.
|
getNetworkInterfaces(int index)
public VpcAccess.NetworkInterface getNetworkInterfaces(int index)
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
Parameter |
---|
Name | Description |
index | int
|
getNetworkInterfacesBuilder(int index)
public VpcAccess.NetworkInterface.Builder getNetworkInterfacesBuilder(int index)
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
Parameter |
---|
Name | Description |
index | int
|
getNetworkInterfacesBuilderList()
public List<VpcAccess.NetworkInterface.Builder> getNetworkInterfacesBuilderList()
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
getNetworkInterfacesCount()
public int getNetworkInterfacesCount()
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
Returns |
---|
Type | Description |
int | |
getNetworkInterfacesList()
public List<VpcAccess.NetworkInterface> getNetworkInterfacesList()
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
getNetworkInterfacesOrBuilder(int index)
public VpcAccess.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
Parameter |
---|
Name | Description |
index | int
|
getNetworkInterfacesOrBuilderList()
public List<? extends VpcAccess.NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.run.v2.VpcAccess.NetworkInterfaceOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(VpcAccess other)
public VpcAccess.Builder mergeFrom(VpcAccess other)
public VpcAccess.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VpcAccess.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpcAccess.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeNetworkInterfaces(int index)
public VpcAccess.Builder removeNetworkInterfaces(int index)
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
Parameter |
---|
Name | Description |
index | int
|
setConnector(String value)
public VpcAccess.Builder setConnector(String value)
VPC Access connector name.
Format: projects/{project}/locations/{location}/connectors/{connector},
where {project} can be project id or number.
For more information on sending traffic to a VPC network via a connector,
visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
string connector = 1 [(.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The connector to set.
|
setConnectorBytes(ByteString value)
public VpcAccess.Builder setConnectorBytes(ByteString value)
VPC Access connector name.
Format: projects/{project}/locations/{location}/connectors/{connector},
where {project} can be project id or number.
For more information on sending traffic to a VPC network via a connector,
visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
string connector = 1 [(.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for connector to set.
|
setEgress(VpcAccess.VpcEgress value)
public VpcAccess.Builder setEgress(VpcAccess.VpcEgress value)
Traffic VPC egress settings. If not provided, it defaults to
PRIVATE_RANGES_ONLY.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
setEgressValue(int value)
public VpcAccess.Builder setEgressValue(int value)
Traffic VPC egress settings. If not provided, it defaults to
PRIVATE_RANGES_ONLY.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for egress to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public VpcAccess.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNetworkInterfaces(int index, VpcAccess.NetworkInterface value)
public VpcAccess.Builder setNetworkInterfaces(int index, VpcAccess.NetworkInterface value)
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
setNetworkInterfaces(int index, VpcAccess.NetworkInterface.Builder builderForValue)
public VpcAccess.Builder setNetworkInterfaces(int index, VpcAccess.NetworkInterface.Builder builderForValue)
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VpcAccess.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VpcAccess.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides