- 2.79.0 (latest)
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.73.0
- 2.71.0
- 2.70.0
- 2.67.0
- 2.66.0
- 2.65.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 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 UsableSubnetworkOrBuilderUsableSubnetwork 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()| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.container.v1beta1.UsableSubnetworkSecondaryRange> |
| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UsableSubnetwork.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
UsableSubnetworkSecondaryRange |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UsableSubnetworkSecondaryRange.Builder |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UsableSubnetworkSecondaryRange |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UsableSubnetworkSecondaryRange.Builder |
| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork.Builder |
|
addSecondaryIpRangesBuilder()
public UsableSubnetworkSecondaryRange.Builder addSecondaryIpRangesBuilder()Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UsableSubnetworkSecondaryRange.Builder |
|
build()
public UsableSubnetwork build()| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork |
|
buildPartial()
public UsableSubnetwork buildPartial()| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork |
|
clear()
public UsableSubnetwork.Builder clear()| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public UsableSubnetwork.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UsableSubnetwork.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork.Builder |
|
clearSecondaryIpRanges()
public UsableSubnetwork.Builder clearSecondaryIpRanges()Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork.Builder |
This builder for chaining. |
clone()
public UsableSubnetwork.Builder clone()| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork.Builder |
|
getDefaultInstanceForType()
public UsableSubnetwork getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIpCidrRange()
public String getIpCidrRange()The range of internal addresses that are owned by this subnetwork.
string ip_cidr_range = 3;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ipCidrRange. |
getNetwork()
public String getNetwork()Network Name. Example: projects/my-project/global/networks/my-network
string network = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The network. |
getNetworkBytes()
public ByteString getNetworkBytes()Network Name. Example: projects/my-project/global/networks/my-network
string network = 2;
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UsableSubnetworkSecondaryRange |
|
getSecondaryIpRangesBuilder(int index)
public UsableSubnetworkSecondaryRange.Builder getSecondaryIpRangesBuilder(int index)Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UsableSubnetworkSecondaryRange.Builder |
|
getSecondaryIpRangesBuilderList()
public List<UsableSubnetworkSecondaryRange.Builder> getSecondaryIpRangesBuilderList()Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSecondaryIpRangesCount()
public int getSecondaryIpRangesCount()Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
| Returns | |
|---|---|
| Type | Description |
int |
|
getSecondaryIpRangesList()
public List<UsableSubnetworkSecondaryRange> getSecondaryIpRangesList()Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
| Returns | |
|---|---|
| Type | Description |
List<UsableSubnetworkSecondaryRange> |
|
getSecondaryIpRangesOrBuilder(int index)
public UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder(int index)Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UsableSubnetworkSecondaryRangeOrBuilder |
|
getSecondaryIpRangesOrBuilderList()
public List<? extends UsableSubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesOrBuilderList()Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
String |
The subnetwork. |
getSubnetworkBytes()
public ByteString getSubnetworkBytes()Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
string subnetwork = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for subnetwork. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UsableSubnetwork other)
public UsableSubnetwork.Builder mergeFrom(UsableSubnetwork other)| Parameter | |
|---|---|
| Name | Description |
other |
UsableSubnetwork |
| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UsableSubnetwork.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UsableSubnetwork.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UsableSubnetwork.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public UsableSubnetwork.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ipCidrRange to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ipCidrRange to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe network to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for network to set. |
| Returns | |
|---|---|
| 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)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UsableSubnetworkSecondaryRange |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UsableSubnetworkSecondaryRange.Builder |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe statusMessage to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for statusMessage to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe subnetwork to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for subnetwork to set. |
| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UsableSubnetwork.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork.Builder |
|