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
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
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Cluster.ControlPlane.Local.Builder newBuilder()
newBuilder(Cluster.ControlPlane.Local prototype)
public static Cluster.ControlPlane.Local.Builder newBuilder(Cluster.ControlPlane.Local prototype)
public static Cluster.ControlPlane.Local parseDelimitedFrom(InputStream input)
public static Cluster.ControlPlane.Local parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Cluster.ControlPlane.Local parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Cluster.ControlPlane.Local parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Cluster.ControlPlane.Local parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Cluster.ControlPlane.Local parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Cluster.ControlPlane.Local parseFrom(CodedInputStream input)
public static Cluster.ControlPlane.Local parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Cluster.ControlPlane.Local parseFrom(InputStream input)
public static Cluster.ControlPlane.Local parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Cluster.ControlPlane.Local parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Cluster.ControlPlane.Local parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Cluster.ControlPlane.Local> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Cluster.ControlPlane.Local getDefaultInstanceForType()
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()
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;
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Cluster.ControlPlane.Local.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Cluster.ControlPlane.Local.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Cluster.ControlPlane.Local.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides