public final class ZoneNetworkConfig extends GeneratedMessageV3 implements ZoneNetworkConfigOrBuilder
Networking configuration for a zone.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.ZoneNetworkConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ZoneNetworkConfig.Builder newBuilder()
newBuilder(ZoneNetworkConfig prototype)
public static ZoneNetworkConfig.Builder newBuilder(ZoneNetworkConfig prototype)
public static ZoneNetworkConfig parseDelimitedFrom(InputStream input)
public static ZoneNetworkConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ZoneNetworkConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ZoneNetworkConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ZoneNetworkConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ZoneNetworkConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ZoneNetworkConfig parseFrom(CodedInputStream input)
public static ZoneNetworkConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ZoneNetworkConfig parseFrom(InputStream input)
public static ZoneNetworkConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ZoneNetworkConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ZoneNetworkConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ZoneNetworkConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ZoneNetworkConfig getDefaultInstanceForType()
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];
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];
getParserForType()
public Parser<ZoneNetworkConfig> getParserForType()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ZoneNetworkConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ZoneNetworkConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ZoneNetworkConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides