Class Cluster.ControlPlane.Local

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local
All Implemented Interfaces:
Cluster.ControlPlane.LocalOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Cluster.ControlPlane

public static final class Cluster.ControlPlane.Local extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • NODE_LOCATION_FIELD_NUMBER

      public static final int NODE_LOCATION_FIELD_NUMBER
      See Also:
    • NODE_COUNT_FIELD_NUMBER

      public static final int NODE_COUNT_FIELD_NUMBER
      See Also:
    • MACHINE_FILTER_FIELD_NUMBER

      public static final int MACHINE_FILTER_FIELD_NUMBER
      See Also:
    • SHARED_DEPLOYMENT_POLICY_FIELD_NUMBER

      public static final int SHARED_DEPLOYMENT_POLICY_FIELD_NUMBER
      See Also:
    • CONTROL_PLANE_NODE_STORAGE_SCHEMA_FIELD_NUMBER

      public static final int CONTROL_PLANE_NODE_STORAGE_SCHEMA_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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;
      Specified by:
      getNodeLocation in interface Cluster.ControlPlane.LocalOrBuilder
      Returns:
      The nodeLocation.
    • getNodeLocationBytes

      public com.google.protobuf.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;
      Specified by:
      getNodeLocationBytes in interface Cluster.ControlPlane.LocalOrBuilder
      Returns:
      The bytes for nodeLocation.
    • getNodeCount

      public int getNodeCount()
       The number of nodes to serve as replicas of the Control Plane.
       
      int32 node_count = 2;
      Specified by:
      getNodeCount in interface Cluster.ControlPlane.LocalOrBuilder
      Returns:
      The nodeCount.
    • 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](https://google.aip.dev/160).
       
      string machine_filter = 3;
      Specified by:
      getMachineFilter in interface Cluster.ControlPlane.LocalOrBuilder
      Returns:
      The machineFilter.
    • getMachineFilterBytes

      public com.google.protobuf.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](https://google.aip.dev/160).
       
      string machine_filter = 3;
      Specified by:
      getMachineFilterBytes in interface Cluster.ControlPlane.LocalOrBuilder
      Returns:
      The bytes for machineFilter.
    • getSharedDeploymentPolicyValue

      public int getSharedDeploymentPolicyValue()
       Policy configuration about how user applications are deployed.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy shared_deployment_policy = 4;
      Specified by:
      getSharedDeploymentPolicyValue in interface Cluster.ControlPlane.LocalOrBuilder
      Returns:
      The enum numeric value on the wire for sharedDeploymentPolicy.
    • 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;
      Specified by:
      getSharedDeploymentPolicy in interface Cluster.ControlPlane.LocalOrBuilder
      Returns:
      The sharedDeploymentPolicy.
    • getControlPlaneNodeStorageSchema

      public String getControlPlaneNodeStorageSchema()
       Optional. Name for the storage schema of control plane nodes.
      
       Warning: Configurable node local storage schema feature is an
       experimental feature, and is not recommended for general use
       in production clusters/nodepools.
       
      string control_plane_node_storage_schema = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getControlPlaneNodeStorageSchema in interface Cluster.ControlPlane.LocalOrBuilder
      Returns:
      The controlPlaneNodeStorageSchema.
    • getControlPlaneNodeStorageSchemaBytes

      public com.google.protobuf.ByteString getControlPlaneNodeStorageSchemaBytes()
       Optional. Name for the storage schema of control plane nodes.
      
       Warning: Configurable node local storage schema feature is an
       experimental feature, and is not recommended for general use
       in production clusters/nodepools.
       
      string control_plane_node_storage_schema = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getControlPlaneNodeStorageSchemaBytes in interface Cluster.ControlPlane.LocalOrBuilder
      Returns:
      The bytes for controlPlaneNodeStorageSchema.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Cluster.ControlPlane.Local parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Cluster.ControlPlane.Local parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Cluster.ControlPlane.Local parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Cluster.ControlPlane.Local parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Cluster.ControlPlane.Local parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Cluster.ControlPlane.Local parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Cluster.ControlPlane.Local parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Cluster.ControlPlane.Local parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Cluster.ControlPlane.Local parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Cluster.ControlPlane.Local parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Cluster.ControlPlane.Local parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Cluster.ControlPlane.Local parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Cluster.ControlPlane.Local.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Cluster.ControlPlane.Local.Builder newBuilder()
    • newBuilder

      public static Cluster.ControlPlane.Local.Builder newBuilder(Cluster.ControlPlane.Local prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Cluster.ControlPlane.Local.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Cluster.ControlPlane.Local getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Cluster.ControlPlane.Local> parser()
    • getParserForType

      public com.google.protobuf.Parser<Cluster.ControlPlane.Local> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Cluster.ControlPlane.Local getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder