Class Cluster.ControlPlane.Local (0.49.0)

public static final class Cluster.ControlPlane.Local extends GeneratedMessageV3 implements Cluster.ControlPlane.LocalOrBuilder

Configuration specific to clusters with a control plane hosted locally.

Warning: Local control plane clusters must be created in their own project. Local control plane clusters cannot coexist in the same project with any other type of clusters, including non-GDCE clusters. Mixing local control plane GDCE clusters with any other type of clusters in the same project can result in data loss.

Protobuf type google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local

Static Fields

MACHINE_FILTER_FIELD_NUMBER

public static final int MACHINE_FILTER_FIELD_NUMBER
Field Value
Type Description
int

NODE_COUNT_FIELD_NUMBER

public static final int NODE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

NODE_LOCATION_FIELD_NUMBER

public static final int NODE_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

SHARED_DEPLOYMENT_POLICY_FIELD_NUMBER

public static final int SHARED_DEPLOYMENT_POLICY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Cluster.ControlPlane.Local getDefaultInstance()
Returns
Type Description
Cluster.ControlPlane.Local

getDescriptor()

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

newBuilder()

public static Cluster.ControlPlane.Local.Builder newBuilder()
Returns
Type Description
Cluster.ControlPlane.Local.Builder

newBuilder(Cluster.ControlPlane.Local prototype)

public static Cluster.ControlPlane.Local.Builder newBuilder(Cluster.ControlPlane.Local prototype)
Parameter
Name Description
prototype Cluster.ControlPlane.Local
Returns
Type Description
Cluster.ControlPlane.Local.Builder

parseDelimitedFrom(InputStream input)

public static Cluster.ControlPlane.Local parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Cluster.ControlPlane.Local
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.ControlPlane.Local parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.ControlPlane.Local
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Cluster.ControlPlane.Local parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Cluster.ControlPlane.Local
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Cluster.ControlPlane.Local parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.ControlPlane.Local
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Cluster.ControlPlane.Local parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Cluster.ControlPlane.Local
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Cluster.ControlPlane.Local parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.ControlPlane.Local
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Cluster.ControlPlane.Local parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Cluster.ControlPlane.Local
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.ControlPlane.Local parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.ControlPlane.Local
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Cluster.ControlPlane.Local parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Cluster.ControlPlane.Local
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.ControlPlane.Local parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.ControlPlane.Local
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Cluster.ControlPlane.Local parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Cluster.ControlPlane.Local
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Cluster.ControlPlane.Local parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.ControlPlane.Local
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Cluster.ControlPlane.Local> parser()
Returns
Type Description
Parser<Local>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Cluster.ControlPlane.Local getDefaultInstanceForType()
Returns
Type Description
Cluster.ControlPlane.Local

getMachineFilter()

public String getMachineFilter()

Only machines matching this filter will be allowed to host control plane nodes. The filtering language accepts strings like "name=<name>", and is documented here: AIP-160.

string machine_filter = 3;

Returns
Type Description
String

The machineFilter.

getMachineFilterBytes()

public ByteString getMachineFilterBytes()

Only machines matching this filter will be allowed to host control plane nodes. The filtering language accepts strings like "name=<name>", and is documented here: AIP-160.

string machine_filter = 3;

Returns
Type Description
ByteString

The bytes for machineFilter.

getNodeCount()

public int getNodeCount()

The number of nodes to serve as replicas of the Control Plane.

int32 node_count = 2;

Returns
Type Description
int

The nodeCount.

getNodeLocation()

public String getNodeLocation()

Name of the Google Distributed Cloud Edge zones where this node pool will be created. For example: us-central1-edge-customer-a.

string node_location = 1;

Returns
Type Description
String

The nodeLocation.

getNodeLocationBytes()

public ByteString getNodeLocationBytes()

Name of the Google Distributed Cloud Edge zones where this node pool will be created. For example: us-central1-edge-customer-a.

string node_location = 1;

Returns
Type Description
ByteString

The bytes for nodeLocation.

getParserForType()

public Parser<Cluster.ControlPlane.Local> getParserForType()
Returns
Type Description
Parser<Local>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSharedDeploymentPolicy()

public Cluster.ControlPlane.SharedDeploymentPolicy getSharedDeploymentPolicy()

Policy configuration about how user applications are deployed.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy shared_deployment_policy = 4;

Returns
Type Description
Cluster.ControlPlane.SharedDeploymentPolicy

The sharedDeploymentPolicy.

getSharedDeploymentPolicyValue()

public int getSharedDeploymentPolicyValue()

Policy configuration about how user applications are deployed.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy shared_deployment_policy = 4;

Returns
Type Description
int

The enum numeric value on the wire for sharedDeploymentPolicy.

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 Cluster.ControlPlane.Local.Builder newBuilderForType()
Returns
Type Description
Cluster.ControlPlane.Local.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Cluster.ControlPlane.Local.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Cluster.ControlPlane.Local.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Cluster.ControlPlane.Local.Builder toBuilder()
Returns
Type Description
Cluster.ControlPlane.Local.Builder

writeTo(CodedOutputStream output)

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