- 0.47.0 (latest)
- 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.NetworkInterface.Builder extends GeneratedMessageV3.Builder<VpcAccess.NetworkInterface.Builder> implements VpcAccess.NetworkInterfaceOrBuilder
Direct VPC egress settings.
Protobuf type google.cloud.run.v2.VpcAccess.NetworkInterface
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VpcAccess.NetworkInterface.BuilderImplements
VpcAccess.NetworkInterfaceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllTags(Iterable<String> values)
public VpcAccess.NetworkInterface.Builder addAllTags(Iterable<String> values)
Network tags applied to this Cloud Run resource.
repeated string tags = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The tags to add. |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpcAccess.NetworkInterface.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder |
addTags(String value)
public VpcAccess.NetworkInterface.Builder addTags(String value)
Network tags applied to this Cloud Run resource.
repeated string tags = 3;
Parameter | |
---|---|
Name | Description |
value | String The tags to add. |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder | This builder for chaining. |
addTagsBytes(ByteString value)
public VpcAccess.NetworkInterface.Builder addTagsBytes(ByteString value)
Network tags applied to this Cloud Run resource.
repeated string tags = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the tags to add. |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder | This builder for chaining. |
build()
public VpcAccess.NetworkInterface build()
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface |
buildPartial()
public VpcAccess.NetworkInterface buildPartial()
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface |
clear()
public VpcAccess.NetworkInterface.Builder clear()
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder |
clearField(Descriptors.FieldDescriptor field)
public VpcAccess.NetworkInterface.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder |
clearNetwork()
public VpcAccess.NetworkInterface.Builder clearNetwork()
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
string network = 1;
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VpcAccess.NetworkInterface.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder |
clearSubnetwork()
public VpcAccess.NetworkInterface.Builder clearSubnetwork()
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
string subnetwork = 2;
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder | This builder for chaining. |
clearTags()
public VpcAccess.NetworkInterface.Builder clearTags()
Network tags applied to this Cloud Run resource.
repeated string tags = 3;
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder | This builder for chaining. |
clone()
public VpcAccess.NetworkInterface.Builder clone()
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder |
getDefaultInstanceForType()
public VpcAccess.NetworkInterface getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNetwork()
public String getNetwork()
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
string network = 1;
Returns | |
---|---|
Type | Description |
String | The network. |
getNetworkBytes()
public ByteString getNetworkBytes()
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
string network = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for network. |
getSubnetwork()
public String getSubnetwork()
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
string subnetwork = 2;
Returns | |
---|---|
Type | Description |
String | The subnetwork. |
getSubnetworkBytes()
public ByteString getSubnetworkBytes()
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
string subnetwork = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for subnetwork. |
getTags(int index)
public String getTags(int index)
Network tags applied to this Cloud Run resource.
repeated string tags = 3;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The tags at the given index. |
getTagsBytes(int index)
public ByteString getTagsBytes(int index)
Network tags applied to this Cloud Run resource.
repeated string tags = 3;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the tags at the given index. |
getTagsCount()
public int getTagsCount()
Network tags applied to this Cloud Run resource.
repeated string tags = 3;
Returns | |
---|---|
Type | Description |
int | The count of tags. |
getTagsList()
public ProtocolStringList getTagsList()
Network tags applied to this Cloud Run resource.
repeated string tags = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the tags. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(VpcAccess.NetworkInterface other)
public VpcAccess.NetworkInterface.Builder mergeFrom(VpcAccess.NetworkInterface other)
Parameter | |
---|---|
Name | Description |
other | VpcAccess.NetworkInterface |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VpcAccess.NetworkInterface.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public VpcAccess.NetworkInterface.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpcAccess.NetworkInterface.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public VpcAccess.NetworkInterface.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder |
setNetwork(String value)
public VpcAccess.NetworkInterface.Builder setNetwork(String value)
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
string network = 1;
Parameter | |
---|---|
Name | Description |
value | String The network to set. |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder | This builder for chaining. |
setNetworkBytes(ByteString value)
public VpcAccess.NetworkInterface.Builder setNetworkBytes(ByteString value)
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
string network = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for network to set. |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VpcAccess.NetworkInterface.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder |
setSubnetwork(String value)
public VpcAccess.NetworkInterface.Builder setSubnetwork(String value)
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
string subnetwork = 2;
Parameter | |
---|---|
Name | Description |
value | String The subnetwork to set. |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder | This builder for chaining. |
setSubnetworkBytes(ByteString value)
public VpcAccess.NetworkInterface.Builder setSubnetworkBytes(ByteString value)
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
string subnetwork = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for subnetwork to set. |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder | This builder for chaining. |
setTags(int index, String value)
public VpcAccess.NetworkInterface.Builder setTags(int index, String value)
Network tags applied to this Cloud Run resource.
repeated string tags = 3;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The tags to set. |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final VpcAccess.NetworkInterface.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder |