- 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.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)
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];
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)
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];
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)
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];
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()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
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()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
VpcAccess.NetworkInterface.Builder |
This builder for chaining. |
clearTags()
public VpcAccess.NetworkInterface.Builder clearTags()
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];
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()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The network. |
getNetworkBytes()
public ByteString getNetworkBytes()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for network. |
getSubnetwork()
public String getSubnetwork()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The subnetwork. |
getSubnetworkBytes()
public ByteString getSubnetworkBytes()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for subnetwork. |
getTags(int index)
public String getTags(int index)
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];
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)
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];
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()
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of tags. |
getTagsList()
public ProtocolStringList getTagsList()
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];
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)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
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)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
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)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
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)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
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)
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];
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 |