public static final class ZoneNetworkConfig.Builder extends GeneratedMessageV3.Builder<ZoneNetworkConfig.Builder> implements ZoneNetworkConfigOrBuilder
Networking configuration for a zone.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.ZoneNetworkConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ZoneNetworkConfig.BuilderImplements
ZoneNetworkConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDnsIpv4Addresses(Iterable<String> values)
public ZoneNetworkConfig.Builder addAllDnsIpv4Addresses(Iterable<String> values)
Optional. DNS nameservers. The GDC Infrastructure will resolve DNS queries via these IPs. If unspecified, Google DNS is used.
repeated string dns_ipv4_addresses = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The dnsIpv4Addresses to add. |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
This builder for chaining. |
addDnsIpv4Addresses(String value)
public ZoneNetworkConfig.Builder addDnsIpv4Addresses(String value)
Optional. DNS nameservers. The GDC Infrastructure will resolve DNS queries via these IPs. If unspecified, Google DNS is used.
repeated string dns_ipv4_addresses = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The dnsIpv4Addresses to add. |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
This builder for chaining. |
addDnsIpv4AddressesBytes(ByteString value)
public ZoneNetworkConfig.Builder addDnsIpv4AddressesBytes(ByteString value)
Optional. DNS nameservers. The GDC Infrastructure will resolve DNS queries via these IPs. If unspecified, Google DNS is used.
repeated string dns_ipv4_addresses = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the dnsIpv4Addresses to add. |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ZoneNetworkConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
build()
public ZoneNetworkConfig build()
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig |
buildPartial()
public ZoneNetworkConfig buildPartial()
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig |
clear()
public ZoneNetworkConfig.Builder clear()
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
clearDnsIpv4Addresses()
public ZoneNetworkConfig.Builder clearDnsIpv4Addresses()
Optional. DNS nameservers. The GDC Infrastructure will resolve DNS queries via these IPs. If unspecified, Google DNS is used.
repeated string dns_ipv4_addresses = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ZoneNetworkConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
clearKubernetesControlPlaneIpv4Range()
public ZoneNetworkConfig.Builder clearKubernetesControlPlaneIpv4Range()
Required. An IPv4 address block for kubernetes control plane.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per cluster in the Zone.
Should be in kubernetes_ipv4_subnet
, and disjoint with other address
ranges.
string kubernetes_control_plane_ipv4_range = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
This builder for chaining. |
clearKubernetesIpv4Subnet()
public ZoneNetworkConfig.Builder clearKubernetesIpv4Subnet()
Optional. An IPv4 subnet for the kubernetes network. If unspecified, the kubernetes subnet will be the same as the management subnet.
.google.cloud.gdchardwaremanagement.v1alpha.Subnet kubernetes_ipv4_subnet = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
clearKubernetesNodeIpv4Range()
public ZoneNetworkConfig.Builder clearKubernetesNodeIpv4Range()
Required. An IPv4 address block for kubernetes nodes.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per machine in the Zone.
Should be in kubernetes_ipv4_subnet
, and disjoint with other address
ranges.
string kubernetes_node_ipv4_range = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
This builder for chaining. |
clearKubernetesPrimaryVlanId()
public ZoneNetworkConfig.Builder clearKubernetesPrimaryVlanId()
Optional. Kubernetes VLAN ID. By default, the kubernetes node, including the primary kubernetes network, are in the same VLAN as the machine management network. For network segmentation purposes, these can optionally be separated.
int32 kubernetes_primary_vlan_id = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
This builder for chaining. |
clearMachineMgmtIpv4Range()
public ZoneNetworkConfig.Builder clearMachineMgmtIpv4Range()
Required. An IPv4 address block for machine management.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per machine in the Zone.
Should be in management_ipv4_subnet
, and disjoint with other address
ranges.
string machine_mgmt_ipv4_range = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
This builder for chaining. |
clearManagementIpv4Subnet()
public ZoneNetworkConfig.Builder clearManagementIpv4Subnet()
Required. An IPv4 subnet for the management network.
.google.cloud.gdchardwaremanagement.v1alpha.Subnet management_ipv4_subnet = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ZoneNetworkConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
clone()
public ZoneNetworkConfig.Builder clone()
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
getDefaultInstanceForType()
public ZoneNetworkConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDnsIpv4Addresses(int index)
public String getDnsIpv4Addresses(int index)
Optional. DNS nameservers. The GDC Infrastructure will resolve DNS queries via these IPs. If unspecified, Google DNS is used.
repeated string dns_ipv4_addresses = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The dnsIpv4Addresses at the given index. |
getDnsIpv4AddressesBytes(int index)
public ByteString getDnsIpv4AddressesBytes(int index)
Optional. DNS nameservers. The GDC Infrastructure will resolve DNS queries via these IPs. If unspecified, Google DNS is used.
repeated string dns_ipv4_addresses = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the dnsIpv4Addresses at the given index. |
getDnsIpv4AddressesCount()
public int getDnsIpv4AddressesCount()
Optional. DNS nameservers. The GDC Infrastructure will resolve DNS queries via these IPs. If unspecified, Google DNS is used.
repeated string dns_ipv4_addresses = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
int |
The count of dnsIpv4Addresses. |
getDnsIpv4AddressesList()
public ProtocolStringList getDnsIpv4AddressesList()
Optional. DNS nameservers. The GDC Infrastructure will resolve DNS queries via these IPs. If unspecified, Google DNS is used.
repeated string dns_ipv4_addresses = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the dnsIpv4Addresses. |
getKubernetesControlPlaneIpv4Range()
public String getKubernetesControlPlaneIpv4Range()
Required. An IPv4 address block for kubernetes control plane.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per cluster in the Zone.
Should be in kubernetes_ipv4_subnet
, and disjoint with other address
ranges.
string kubernetes_control_plane_ipv4_range = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
String |
The kubernetesControlPlaneIpv4Range. |
getKubernetesControlPlaneIpv4RangeBytes()
public ByteString getKubernetesControlPlaneIpv4RangeBytes()
Required. An IPv4 address block for kubernetes control plane.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per cluster in the Zone.
Should be in kubernetes_ipv4_subnet
, and disjoint with other address
ranges.
string kubernetes_control_plane_ipv4_range = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for kubernetesControlPlaneIpv4Range. |
getKubernetesIpv4Subnet()
public Subnet getKubernetesIpv4Subnet()
Optional. An IPv4 subnet for the kubernetes network. If unspecified, the kubernetes subnet will be the same as the management subnet.
.google.cloud.gdchardwaremanagement.v1alpha.Subnet kubernetes_ipv4_subnet = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Subnet |
The kubernetesIpv4Subnet. |
getKubernetesIpv4SubnetBuilder()
public Subnet.Builder getKubernetesIpv4SubnetBuilder()
Optional. An IPv4 subnet for the kubernetes network. If unspecified, the kubernetes subnet will be the same as the management subnet.
.google.cloud.gdchardwaremanagement.v1alpha.Subnet kubernetes_ipv4_subnet = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Subnet.Builder |
getKubernetesIpv4SubnetOrBuilder()
public SubnetOrBuilder getKubernetesIpv4SubnetOrBuilder()
Optional. An IPv4 subnet for the kubernetes network. If unspecified, the kubernetes subnet will be the same as the management subnet.
.google.cloud.gdchardwaremanagement.v1alpha.Subnet kubernetes_ipv4_subnet = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SubnetOrBuilder |
getKubernetesNodeIpv4Range()
public String getKubernetesNodeIpv4Range()
Required. An IPv4 address block for kubernetes nodes.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per machine in the Zone.
Should be in kubernetes_ipv4_subnet
, and disjoint with other address
ranges.
string kubernetes_node_ipv4_range = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
String |
The kubernetesNodeIpv4Range. |
getKubernetesNodeIpv4RangeBytes()
public ByteString getKubernetesNodeIpv4RangeBytes()
Required. An IPv4 address block for kubernetes nodes.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per machine in the Zone.
Should be in kubernetes_ipv4_subnet
, and disjoint with other address
ranges.
string kubernetes_node_ipv4_range = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for kubernetesNodeIpv4Range. |
getKubernetesPrimaryVlanId()
public int getKubernetesPrimaryVlanId()
Optional. Kubernetes VLAN ID. By default, the kubernetes node, including the primary kubernetes network, are in the same VLAN as the machine management network. For network segmentation purposes, these can optionally be separated.
int32 kubernetes_primary_vlan_id = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The kubernetesPrimaryVlanId. |
getMachineMgmtIpv4Range()
public String getMachineMgmtIpv4Range()
Required. An IPv4 address block for machine management.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per machine in the Zone.
Should be in management_ipv4_subnet
, and disjoint with other address
ranges.
string machine_mgmt_ipv4_range = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
String |
The machineMgmtIpv4Range. |
getMachineMgmtIpv4RangeBytes()
public ByteString getMachineMgmtIpv4RangeBytes()
Required. An IPv4 address block for machine management.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per machine in the Zone.
Should be in management_ipv4_subnet
, and disjoint with other address
ranges.
string machine_mgmt_ipv4_range = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for machineMgmtIpv4Range. |
getManagementIpv4Subnet()
public Subnet getManagementIpv4Subnet()
Required. An IPv4 subnet for the management network.
.google.cloud.gdchardwaremanagement.v1alpha.Subnet management_ipv4_subnet = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Subnet |
The managementIpv4Subnet. |
getManagementIpv4SubnetBuilder()
public Subnet.Builder getManagementIpv4SubnetBuilder()
Required. An IPv4 subnet for the management network.
.google.cloud.gdchardwaremanagement.v1alpha.Subnet management_ipv4_subnet = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Subnet.Builder |
getManagementIpv4SubnetOrBuilder()
public SubnetOrBuilder getManagementIpv4SubnetOrBuilder()
Required. An IPv4 subnet for the management network.
.google.cloud.gdchardwaremanagement.v1alpha.Subnet management_ipv4_subnet = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SubnetOrBuilder |
hasKubernetesIpv4Subnet()
public boolean hasKubernetesIpv4Subnet()
Optional. An IPv4 subnet for the kubernetes network. If unspecified, the kubernetes subnet will be the same as the management subnet.
.google.cloud.gdchardwaremanagement.v1alpha.Subnet kubernetes_ipv4_subnet = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the kubernetesIpv4Subnet field is set. |
hasManagementIpv4Subnet()
public boolean hasManagementIpv4Subnet()
Required. An IPv4 subnet for the management network.
.google.cloud.gdchardwaremanagement.v1alpha.Subnet management_ipv4_subnet = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the managementIpv4Subnet field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ZoneNetworkConfig other)
public ZoneNetworkConfig.Builder mergeFrom(ZoneNetworkConfig other)
Parameter | |
---|---|
Name | Description |
other |
ZoneNetworkConfig |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ZoneNetworkConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ZoneNetworkConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
mergeKubernetesIpv4Subnet(Subnet value)
public ZoneNetworkConfig.Builder mergeKubernetesIpv4Subnet(Subnet value)
Optional. An IPv4 subnet for the kubernetes network. If unspecified, the kubernetes subnet will be the same as the management subnet.
.google.cloud.gdchardwaremanagement.v1alpha.Subnet kubernetes_ipv4_subnet = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Subnet |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
mergeManagementIpv4Subnet(Subnet value)
public ZoneNetworkConfig.Builder mergeManagementIpv4Subnet(Subnet value)
Required. An IPv4 subnet for the management network.
.google.cloud.gdchardwaremanagement.v1alpha.Subnet management_ipv4_subnet = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Subnet |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ZoneNetworkConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
setDnsIpv4Addresses(int index, String value)
public ZoneNetworkConfig.Builder setDnsIpv4Addresses(int index, String value)
Optional. DNS nameservers. The GDC Infrastructure will resolve DNS queries via these IPs. If unspecified, Google DNS is used.
repeated string dns_ipv4_addresses = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The dnsIpv4Addresses to set. |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ZoneNetworkConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
setKubernetesControlPlaneIpv4Range(String value)
public ZoneNetworkConfig.Builder setKubernetesControlPlaneIpv4Range(String value)
Required. An IPv4 address block for kubernetes control plane.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per cluster in the Zone.
Should be in kubernetes_ipv4_subnet
, and disjoint with other address
ranges.
string kubernetes_control_plane_ipv4_range = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The kubernetesControlPlaneIpv4Range to set. |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
This builder for chaining. |
setKubernetesControlPlaneIpv4RangeBytes(ByteString value)
public ZoneNetworkConfig.Builder setKubernetesControlPlaneIpv4RangeBytes(ByteString value)
Required. An IPv4 address block for kubernetes control plane.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per cluster in the Zone.
Should be in kubernetes_ipv4_subnet
, and disjoint with other address
ranges.
string kubernetes_control_plane_ipv4_range = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for kubernetesControlPlaneIpv4Range to set. |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
This builder for chaining. |
setKubernetesIpv4Subnet(Subnet value)
public ZoneNetworkConfig.Builder setKubernetesIpv4Subnet(Subnet value)
Optional. An IPv4 subnet for the kubernetes network. If unspecified, the kubernetes subnet will be the same as the management subnet.
.google.cloud.gdchardwaremanagement.v1alpha.Subnet kubernetes_ipv4_subnet = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Subnet |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
setKubernetesIpv4Subnet(Subnet.Builder builderForValue)
public ZoneNetworkConfig.Builder setKubernetesIpv4Subnet(Subnet.Builder builderForValue)
Optional. An IPv4 subnet for the kubernetes network. If unspecified, the kubernetes subnet will be the same as the management subnet.
.google.cloud.gdchardwaremanagement.v1alpha.Subnet kubernetes_ipv4_subnet = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Subnet.Builder |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
setKubernetesNodeIpv4Range(String value)
public ZoneNetworkConfig.Builder setKubernetesNodeIpv4Range(String value)
Required. An IPv4 address block for kubernetes nodes.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per machine in the Zone.
Should be in kubernetes_ipv4_subnet
, and disjoint with other address
ranges.
string kubernetes_node_ipv4_range = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The kubernetesNodeIpv4Range to set. |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
This builder for chaining. |
setKubernetesNodeIpv4RangeBytes(ByteString value)
public ZoneNetworkConfig.Builder setKubernetesNodeIpv4RangeBytes(ByteString value)
Required. An IPv4 address block for kubernetes nodes.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per machine in the Zone.
Should be in kubernetes_ipv4_subnet
, and disjoint with other address
ranges.
string kubernetes_node_ipv4_range = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for kubernetesNodeIpv4Range to set. |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
This builder for chaining. |
setKubernetesPrimaryVlanId(int value)
public ZoneNetworkConfig.Builder setKubernetesPrimaryVlanId(int value)
Optional. Kubernetes VLAN ID. By default, the kubernetes node, including the primary kubernetes network, are in the same VLAN as the machine management network. For network segmentation purposes, these can optionally be separated.
int32 kubernetes_primary_vlan_id = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The kubernetesPrimaryVlanId to set. |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
This builder for chaining. |
setMachineMgmtIpv4Range(String value)
public ZoneNetworkConfig.Builder setMachineMgmtIpv4Range(String value)
Required. An IPv4 address block for machine management.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per machine in the Zone.
Should be in management_ipv4_subnet
, and disjoint with other address
ranges.
string machine_mgmt_ipv4_range = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The machineMgmtIpv4Range to set. |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
This builder for chaining. |
setMachineMgmtIpv4RangeBytes(ByteString value)
public ZoneNetworkConfig.Builder setMachineMgmtIpv4RangeBytes(ByteString value)
Required. An IPv4 address block for machine management.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per machine in the Zone.
Should be in management_ipv4_subnet
, and disjoint with other address
ranges.
string machine_mgmt_ipv4_range = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for machineMgmtIpv4Range to set. |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
This builder for chaining. |
setManagementIpv4Subnet(Subnet value)
public ZoneNetworkConfig.Builder setManagementIpv4Subnet(Subnet value)
Required. An IPv4 subnet for the management network.
.google.cloud.gdchardwaremanagement.v1alpha.Subnet management_ipv4_subnet = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Subnet |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
setManagementIpv4Subnet(Subnet.Builder builderForValue)
public ZoneNetworkConfig.Builder setManagementIpv4Subnet(Subnet.Builder builderForValue)
Required. An IPv4 subnet for the management network.
.google.cloud.gdchardwaremanagement.v1alpha.Subnet management_ipv4_subnet = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
Subnet.Builder |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ZoneNetworkConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ZoneNetworkConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ZoneNetworkConfig.Builder |