Class Cluster.ControlPlane.Local (0.38.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
TypeDescription
int

NODE_COUNT_FIELD_NUMBER

public static final int NODE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

NODE_LOCATION_FIELD_NUMBER

public static final int NODE_LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

SHARED_DEPLOYMENT_POLICY_FIELD_NUMBER

public static final int SHARED_DEPLOYMENT_POLICY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Cluster.ControlPlane.Local getDefaultInstance()
Returns
TypeDescription
Cluster.ControlPlane.Local

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Cluster.ControlPlane.Local.Builder newBuilder()
Returns
TypeDescription
Cluster.ControlPlane.Local.Builder

newBuilder(Cluster.ControlPlane.Local prototype)

public static Cluster.ControlPlane.Local.Builder newBuilder(Cluster.ControlPlane.Local prototype)
Parameter
NameDescription
prototypeCluster.ControlPlane.Local
Returns
TypeDescription
Cluster.ControlPlane.Local.Builder

parseDelimitedFrom(InputStream input)

public static Cluster.ControlPlane.Local parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Cluster.ControlPlane.Local
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.ControlPlane.Local parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.ControlPlane.Local
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Cluster.ControlPlane.Local parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Cluster.ControlPlane.Local
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Cluster.ControlPlane.Local parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.ControlPlane.Local
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Cluster.ControlPlane.Local parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Cluster.ControlPlane.Local
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Cluster.ControlPlane.Local parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.ControlPlane.Local
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Cluster.ControlPlane.Local parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Cluster.ControlPlane.Local
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.ControlPlane.Local parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.ControlPlane.Local
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Cluster.ControlPlane.Local parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Cluster.ControlPlane.Local
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.ControlPlane.Local parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.ControlPlane.Local
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Cluster.ControlPlane.Local parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Cluster.ControlPlane.Local
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Cluster.ControlPlane.Local parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.ControlPlane.Local
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Cluster.ControlPlane.Local getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nodeLocation.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for sharedDeploymentPolicy.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Cluster.ControlPlane.Local.Builder newBuilderForType()
Returns
TypeDescription
Cluster.ControlPlane.Local.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Cluster.ControlPlane.Local.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Cluster.ControlPlane.Local.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Cluster.ControlPlane.Local.Builder toBuilder()
Returns
TypeDescription
Cluster.ControlPlane.Local.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException