Class Cluster.ControlPlane.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Cluster.ControlPlane.Builder>
com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Builder
All Implemented Interfaces:
Cluster.ControlPlaneOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Cluster.ControlPlane

public static final class Cluster.ControlPlane.Builder extends com.google.protobuf.GeneratedMessage.Builder<Cluster.ControlPlane.Builder> implements Cluster.ControlPlaneOrBuilder
 Configuration of the cluster control plane.
 
Protobuf type google.cloud.edgecontainer.v1.Cluster.ControlPlane
  • 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.Builder<Cluster.ControlPlane.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Cluster.ControlPlane.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Cluster.ControlPlane.Builder>
    • getDefaultInstanceForType

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

      public Cluster.ControlPlane build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Cluster.ControlPlane buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Cluster.ControlPlane.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.ControlPlane.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Cluster.ControlPlane.Builder>
    • mergeFrom

      public Cluster.ControlPlane.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.ControlPlane.Builder>
      Throws:
      IOException
    • getConfigCase

      public Cluster.ControlPlane.ConfigCase getConfigCase()
      Specified by:
      getConfigCase in interface Cluster.ControlPlaneOrBuilder
    • clearConfig

      public Cluster.ControlPlane.Builder clearConfig()
    • hasRemote

      public boolean hasRemote()
       Remote control plane configuration.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1;
      Specified by:
      hasRemote in interface Cluster.ControlPlaneOrBuilder
      Returns:
      Whether the remote field is set.
    • getRemote

      public Cluster.ControlPlane.Remote getRemote()
       Remote control plane configuration.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1;
      Specified by:
      getRemote in interface Cluster.ControlPlaneOrBuilder
      Returns:
      The remote.
    • setRemote

       Remote control plane configuration.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1;
    • setRemote

       Remote control plane configuration.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1;
    • mergeRemote

       Remote control plane configuration.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1;
    • clearRemote

      public Cluster.ControlPlane.Builder clearRemote()
       Remote control plane configuration.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1;
    • getRemoteBuilder

      public Cluster.ControlPlane.Remote.Builder getRemoteBuilder()
       Remote control plane configuration.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1;
    • getRemoteOrBuilder

      public Cluster.ControlPlane.RemoteOrBuilder getRemoteOrBuilder()
       Remote control plane configuration.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1;
      Specified by:
      getRemoteOrBuilder in interface Cluster.ControlPlaneOrBuilder
    • hasLocal

      public boolean hasLocal()
       Local control plane configuration.
      
       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.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2;
      Specified by:
      hasLocal in interface Cluster.ControlPlaneOrBuilder
      Returns:
      Whether the local field is set.
    • getLocal

      public Cluster.ControlPlane.Local getLocal()
       Local control plane configuration.
      
       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.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2;
      Specified by:
      getLocal in interface Cluster.ControlPlaneOrBuilder
      Returns:
      The local.
    • setLocal

       Local control plane configuration.
      
       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.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2;
    • setLocal

       Local control plane configuration.
      
       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.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2;
    • mergeLocal

       Local control plane configuration.
      
       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.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2;
    • clearLocal

      public Cluster.ControlPlane.Builder clearLocal()
       Local control plane configuration.
      
       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.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2;
    • getLocalBuilder

      public Cluster.ControlPlane.Local.Builder getLocalBuilder()
       Local control plane configuration.
      
       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.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2;
    • getLocalOrBuilder

      public Cluster.ControlPlane.LocalOrBuilder getLocalOrBuilder()
       Local control plane configuration.
      
       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.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2;
      Specified by:
      getLocalOrBuilder in interface Cluster.ControlPlaneOrBuilder