- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public static final class UsableSubnetwork.Builder extends GeneratedMessageV3.Builder<UsableSubnetwork.Builder> implements UsableSubnetworkOrBuilder
UsableSubnetwork resource returns the subnetwork name, its associated network and the primary CIDR range.
Protobuf type google.container.v1beta1.UsableSubnetwork
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UsableSubnetwork.BuilderImplements
UsableSubnetworkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllSecondaryIpRanges(Iterable<? extends UsableSubnetworkSecondaryRange> values)
public UsableSubnetwork.Builder addAllSecondaryIpRanges(Iterable<? extends UsableSubnetworkSecondaryRange> values)
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Name | Description |
values | Iterable<? extends com.google.container.v1beta1.UsableSubnetworkSecondaryRange> |
Type | Description |
UsableSubnetwork.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UsableSubnetwork.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UsableSubnetwork.Builder |
addSecondaryIpRanges(UsableSubnetworkSecondaryRange value)
public UsableSubnetwork.Builder addSecondaryIpRanges(UsableSubnetworkSecondaryRange value)
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Name | Description |
value | UsableSubnetworkSecondaryRange |
Type | Description |
UsableSubnetwork.Builder |
addSecondaryIpRanges(UsableSubnetworkSecondaryRange.Builder builderForValue)
public UsableSubnetwork.Builder addSecondaryIpRanges(UsableSubnetworkSecondaryRange.Builder builderForValue)
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Name | Description |
builderForValue | UsableSubnetworkSecondaryRange.Builder |
Type | Description |
UsableSubnetwork.Builder |
addSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange value)
public UsableSubnetwork.Builder addSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange value)
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Name | Description |
index | int |
value | UsableSubnetworkSecondaryRange |
Type | Description |
UsableSubnetwork.Builder |
addSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange.Builder builderForValue)
public UsableSubnetwork.Builder addSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange.Builder builderForValue)
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Name | Description |
index | int |
builderForValue | UsableSubnetworkSecondaryRange.Builder |
Type | Description |
UsableSubnetwork.Builder |
addSecondaryIpRangesBuilder()
public UsableSubnetworkSecondaryRange.Builder addSecondaryIpRangesBuilder()
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Type | Description |
UsableSubnetworkSecondaryRange.Builder |
addSecondaryIpRangesBuilder(int index)
public UsableSubnetworkSecondaryRange.Builder addSecondaryIpRangesBuilder(int index)
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Name | Description |
index | int |
Type | Description |
UsableSubnetworkSecondaryRange.Builder |
build()
public UsableSubnetwork build()
Type | Description |
UsableSubnetwork |
buildPartial()
public UsableSubnetwork buildPartial()
Type | Description |
UsableSubnetwork |
clear()
public UsableSubnetwork.Builder clear()
Type | Description |
UsableSubnetwork.Builder |
clearField(Descriptors.FieldDescriptor field)
public UsableSubnetwork.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
UsableSubnetwork.Builder |
clearIpCidrRange()
public UsableSubnetwork.Builder clearIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
string ip_cidr_range = 3;
Type | Description |
UsableSubnetwork.Builder | This builder for chaining. |
clearNetwork()
public UsableSubnetwork.Builder clearNetwork()
Network Name. Example: projects/my-project/global/networks/my-network
string network = 2;
Type | Description |
UsableSubnetwork.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UsableSubnetwork.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
UsableSubnetwork.Builder |
clearSecondaryIpRanges()
public UsableSubnetwork.Builder clearSecondaryIpRanges()
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Type | Description |
UsableSubnetwork.Builder |
clearStatusMessage()
public UsableSubnetwork.Builder clearStatusMessage()
A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.
string status_message = 5;
Type | Description |
UsableSubnetwork.Builder | This builder for chaining. |
clearSubnetwork()
public UsableSubnetwork.Builder clearSubnetwork()
Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
string subnetwork = 1;
Type | Description |
UsableSubnetwork.Builder | This builder for chaining. |
clone()
public UsableSubnetwork.Builder clone()
Type | Description |
UsableSubnetwork.Builder |
getDefaultInstanceForType()
public UsableSubnetwork getDefaultInstanceForType()
Type | Description |
UsableSubnetwork |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getIpCidrRange()
public String getIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
string ip_cidr_range = 3;
Type | Description |
String | The ipCidrRange. |
getIpCidrRangeBytes()
public ByteString getIpCidrRangeBytes()
The range of internal addresses that are owned by this subnetwork.
string ip_cidr_range = 3;
Type | Description |
ByteString | The bytes for ipCidrRange. |
getNetwork()
public String getNetwork()
Network Name. Example: projects/my-project/global/networks/my-network
string network = 2;
Type | Description |
String | The network. |
getNetworkBytes()
public ByteString getNetworkBytes()
Network Name. Example: projects/my-project/global/networks/my-network
string network = 2;
Type | Description |
ByteString | The bytes for network. |
getSecondaryIpRanges(int index)
public UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index)
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Name | Description |
index | int |
Type | Description |
UsableSubnetworkSecondaryRange |
getSecondaryIpRangesBuilder(int index)
public UsableSubnetworkSecondaryRange.Builder getSecondaryIpRangesBuilder(int index)
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Name | Description |
index | int |
Type | Description |
UsableSubnetworkSecondaryRange.Builder |
getSecondaryIpRangesBuilderList()
public List<UsableSubnetworkSecondaryRange.Builder> getSecondaryIpRangesBuilderList()
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Type | Description |
List<Builder> |
getSecondaryIpRangesCount()
public int getSecondaryIpRangesCount()
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Type | Description |
int |
getSecondaryIpRangesList()
public List<UsableSubnetworkSecondaryRange> getSecondaryIpRangesList()
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Type | Description |
List<UsableSubnetworkSecondaryRange> |
getSecondaryIpRangesOrBuilder(int index)
public UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder(int index)
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Name | Description |
index | int |
Type | Description |
UsableSubnetworkSecondaryRangeOrBuilder |
getSecondaryIpRangesOrBuilderList()
public List<? extends UsableSubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesOrBuilderList()
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Type | Description |
List<? extends com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder> |
getStatusMessage()
public String getStatusMessage()
A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.
string status_message = 5;
Type | Description |
String | The statusMessage. |
getStatusMessageBytes()
public ByteString getStatusMessageBytes()
A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.
string status_message = 5;
Type | Description |
ByteString | The bytes for statusMessage. |
getSubnetwork()
public String getSubnetwork()
Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
string subnetwork = 1;
Type | Description |
String | The subnetwork. |
getSubnetworkBytes()
public ByteString getSubnetworkBytes()
Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
string subnetwork = 1;
Type | Description |
ByteString | The bytes for subnetwork. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(UsableSubnetwork other)
public UsableSubnetwork.Builder mergeFrom(UsableSubnetwork other)
Name | Description |
other | UsableSubnetwork |
Type | Description |
UsableSubnetwork.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UsableSubnetwork.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UsableSubnetwork.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public UsableSubnetwork.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
UsableSubnetwork.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UsableSubnetwork.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UsableSubnetwork.Builder |
removeSecondaryIpRanges(int index)
public UsableSubnetwork.Builder removeSecondaryIpRanges(int index)
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Name | Description |
index | int |
Type | Description |
UsableSubnetwork.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UsableSubnetwork.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UsableSubnetwork.Builder |
setIpCidrRange(String value)
public UsableSubnetwork.Builder setIpCidrRange(String value)
The range of internal addresses that are owned by this subnetwork.
string ip_cidr_range = 3;
Name | Description |
value | String The ipCidrRange to set. |
Type | Description |
UsableSubnetwork.Builder | This builder for chaining. |
setIpCidrRangeBytes(ByteString value)
public UsableSubnetwork.Builder setIpCidrRangeBytes(ByteString value)
The range of internal addresses that are owned by this subnetwork.
string ip_cidr_range = 3;
Name | Description |
value | ByteString The bytes for ipCidrRange to set. |
Type | Description |
UsableSubnetwork.Builder | This builder for chaining. |
setNetwork(String value)
public UsableSubnetwork.Builder setNetwork(String value)
Network Name. Example: projects/my-project/global/networks/my-network
string network = 2;
Name | Description |
value | String The network to set. |
Type | Description |
UsableSubnetwork.Builder | This builder for chaining. |
setNetworkBytes(ByteString value)
public UsableSubnetwork.Builder setNetworkBytes(ByteString value)
Network Name. Example: projects/my-project/global/networks/my-network
string network = 2;
Name | Description |
value | ByteString The bytes for network to set. |
Type | Description |
UsableSubnetwork.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UsableSubnetwork.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
UsableSubnetwork.Builder |
setSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange value)
public UsableSubnetwork.Builder setSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange value)
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Name | Description |
index | int |
value | UsableSubnetworkSecondaryRange |
Type | Description |
UsableSubnetwork.Builder |
setSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange.Builder builderForValue)
public UsableSubnetwork.Builder setSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange.Builder builderForValue)
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Name | Description |
index | int |
builderForValue | UsableSubnetworkSecondaryRange.Builder |
Type | Description |
UsableSubnetwork.Builder |
setStatusMessage(String value)
public UsableSubnetwork.Builder setStatusMessage(String value)
A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.
string status_message = 5;
Name | Description |
value | String The statusMessage to set. |
Type | Description |
UsableSubnetwork.Builder | This builder for chaining. |
setStatusMessageBytes(ByteString value)
public UsableSubnetwork.Builder setStatusMessageBytes(ByteString value)
A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.
string status_message = 5;
Name | Description |
value | ByteString The bytes for statusMessage to set. |
Type | Description |
UsableSubnetwork.Builder | This builder for chaining. |
setSubnetwork(String value)
public UsableSubnetwork.Builder setSubnetwork(String value)
Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
string subnetwork = 1;
Name | Description |
value | String The subnetwork to set. |
Type | Description |
UsableSubnetwork.Builder | This builder for chaining. |
setSubnetworkBytes(ByteString value)
public UsableSubnetwork.Builder setSubnetworkBytes(ByteString value)
Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
string subnetwork = 1;
Name | Description |
value | ByteString The bytes for subnetwork to set. |
Type | Description |
UsableSubnetwork.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UsableSubnetwork.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UsableSubnetwork.Builder |