Class ZoneNetworkConfig (0.9.0)

public final class ZoneNetworkConfig extends GeneratedMessageV3 implements ZoneNetworkConfigOrBuilder

Networking configuration for a zone.

Protobuf type google.cloud.gdchardwaremanagement.v1alpha.ZoneNetworkConfig

Static Fields

DNS_IPV4_ADDRESSES_FIELD_NUMBER

public static final int DNS_IPV4_ADDRESSES_FIELD_NUMBER
Field Value
Type Description
int

KUBERNETES_CONTROL_PLANE_IPV4_RANGE_FIELD_NUMBER

public static final int KUBERNETES_CONTROL_PLANE_IPV4_RANGE_FIELD_NUMBER
Field Value
Type Description
int

KUBERNETES_IPV4_SUBNET_FIELD_NUMBER

public static final int KUBERNETES_IPV4_SUBNET_FIELD_NUMBER
Field Value
Type Description
int

KUBERNETES_NODE_IPV4_RANGE_FIELD_NUMBER

public static final int KUBERNETES_NODE_IPV4_RANGE_FIELD_NUMBER
Field Value
Type Description
int

KUBERNETES_PRIMARY_VLAN_ID_FIELD_NUMBER

public static final int KUBERNETES_PRIMARY_VLAN_ID_FIELD_NUMBER
Field Value
Type Description
int

MACHINE_MGMT_IPV4_RANGE_FIELD_NUMBER

public static final int MACHINE_MGMT_IPV4_RANGE_FIELD_NUMBER
Field Value
Type Description
int

MANAGEMENT_IPV4_SUBNET_FIELD_NUMBER

public static final int MANAGEMENT_IPV4_SUBNET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ZoneNetworkConfig getDefaultInstance()
Returns
Type Description
ZoneNetworkConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ZoneNetworkConfig.Builder newBuilder()
Returns
Type Description
ZoneNetworkConfig.Builder

newBuilder(ZoneNetworkConfig prototype)

public static ZoneNetworkConfig.Builder newBuilder(ZoneNetworkConfig prototype)
Parameter
Name Description
prototype ZoneNetworkConfig
Returns
Type Description
ZoneNetworkConfig.Builder

parseDelimitedFrom(InputStream input)

public static ZoneNetworkConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ZoneNetworkConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ZoneNetworkConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ZoneNetworkConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ZoneNetworkConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ZoneNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ZoneNetworkConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ZoneNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ZoneNetworkConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ZoneNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ZoneNetworkConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ZoneNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ZoneNetworkConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ZoneNetworkConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ZoneNetworkConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ZoneNetworkConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ZoneNetworkConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ZoneNetworkConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ZoneNetworkConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ZoneNetworkConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ZoneNetworkConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ZoneNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ZoneNetworkConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ZoneNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ZoneNetworkConfig> parser()
Returns
Type Description
Parser<ZoneNetworkConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ZoneNetworkConfig getDefaultInstanceForType()
Returns
Type Description
ZoneNetworkConfig

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.

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.

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

getParserForType()

public Parser<ZoneNetworkConfig> getParserForType()
Returns
Type Description
Parser<ZoneNetworkConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ZoneNetworkConfig.Builder newBuilderForType()
Returns
Type Description
ZoneNetworkConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ZoneNetworkConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ZoneNetworkConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ZoneNetworkConfig.Builder toBuilder()
Returns
Type Description
ZoneNetworkConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException