Class ZoneNetworkConfig (0.7.0)

public final class ZoneNetworkConfig extends GeneratedMessageV3 implements ZoneNetworkConfigOrBuilder

Networking configuration for a zone.

Protobuf type google.cloud.gdchardwaremanagement.v1alpha.ZoneNetworkConfig

Static Fields

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

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

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.

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