Class MembershipSpec

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkehub.configmanagement.v1.MembershipSpec
All Implemented Interfaces:
MembershipSpecOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class MembershipSpec extends com.google.protobuf.GeneratedMessage implements MembershipSpecOrBuilder
 **Anthos Config Management**: Configuration for a single cluster.
 Intended to parallel the ConfigManagement CR.
 
Protobuf type google.cloud.gkehub.configmanagement.v1.MembershipSpec
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    **Anthos Config Management**: Configuration for a single cluster.
    static enum 
    Whether to automatically manage the Feature.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    The user-specified cluster name used by Config Sync cluster-name-selector annotation or ClusterSelector, for applying configs to only a subset of clusters.
    com.google.protobuf.ByteString
    The user-specified cluster name used by Config Sync cluster-name-selector annotation or ClusterSelector, for applying configs to only a subset of clusters.
    Config Sync configuration for the cluster.
    Config Sync configuration for the cluster.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Hierarchy Controller configuration for the cluster.
    Hierarchy Controller configuration for the cluster.
    Enables automatic Feature management.
    int
    Enables automatic Feature management.
    com.google.protobuf.Parser<MembershipSpec>
     
    Policy Controller configuration for the cluster.
    Policy Controller configuration for the cluster.
    int
     
    Version of ACM installed.
    com.google.protobuf.ByteString
    Version of ACM installed.
    boolean
    Config Sync configuration for the cluster.
    int
     
    boolean
    Hierarchy Controller configuration for the cluster.
    boolean
    Policy Controller configuration for the cluster.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<MembershipSpec>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • CONFIG_SYNC_FIELD_NUMBER

      public static final int CONFIG_SYNC_FIELD_NUMBER
      See Also:
    • POLICY_CONTROLLER_FIELD_NUMBER

      public static final int POLICY_CONTROLLER_FIELD_NUMBER
      See Also:
    • HIERARCHY_CONTROLLER_FIELD_NUMBER

      public static final int HIERARCHY_CONTROLLER_FIELD_NUMBER
      See Also:
    • VERSION_FIELD_NUMBER

      public static final int VERSION_FIELD_NUMBER
      See Also:
    • CLUSTER_FIELD_NUMBER

      public static final int CLUSTER_FIELD_NUMBER
      See Also:
    • MANAGEMENT_FIELD_NUMBER

      public static final int MANAGEMENT_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
    • hasConfigSync

      public boolean hasConfigSync()
       Config Sync configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1.ConfigSync config_sync = 1;
      Specified by:
      hasConfigSync in interface MembershipSpecOrBuilder
      Returns:
      Whether the configSync field is set.
    • getConfigSync

      public ConfigSync getConfigSync()
       Config Sync configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1.ConfigSync config_sync = 1;
      Specified by:
      getConfigSync in interface MembershipSpecOrBuilder
      Returns:
      The configSync.
    • getConfigSyncOrBuilder

      public ConfigSyncOrBuilder getConfigSyncOrBuilder()
       Config Sync configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1.ConfigSync config_sync = 1;
      Specified by:
      getConfigSyncOrBuilder in interface MembershipSpecOrBuilder
    • hasPolicyController

      public boolean hasPolicyController()
       Policy Controller configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1.PolicyController policy_controller = 2;
      Specified by:
      hasPolicyController in interface MembershipSpecOrBuilder
      Returns:
      Whether the policyController field is set.
    • getPolicyController

      public PolicyController getPolicyController()
       Policy Controller configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1.PolicyController policy_controller = 2;
      Specified by:
      getPolicyController in interface MembershipSpecOrBuilder
      Returns:
      The policyController.
    • getPolicyControllerOrBuilder

      public PolicyControllerOrBuilder getPolicyControllerOrBuilder()
       Policy Controller configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1.PolicyController policy_controller = 2;
      Specified by:
      getPolicyControllerOrBuilder in interface MembershipSpecOrBuilder
    • hasHierarchyController

      public boolean hasHierarchyController()
       Hierarchy Controller configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig hierarchy_controller = 4;
      Specified by:
      hasHierarchyController in interface MembershipSpecOrBuilder
      Returns:
      Whether the hierarchyController field is set.
    • getHierarchyController

      public HierarchyControllerConfig getHierarchyController()
       Hierarchy Controller configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig hierarchy_controller = 4;
      Specified by:
      getHierarchyController in interface MembershipSpecOrBuilder
      Returns:
      The hierarchyController.
    • getHierarchyControllerOrBuilder

      public HierarchyControllerConfigOrBuilder getHierarchyControllerOrBuilder()
       Hierarchy Controller configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig hierarchy_controller = 4;
      Specified by:
      getHierarchyControllerOrBuilder in interface MembershipSpecOrBuilder
    • getVersion

      public String getVersion()
       Version of ACM installed.
       
      string version = 10;
      Specified by:
      getVersion in interface MembershipSpecOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       Version of ACM installed.
       
      string version = 10;
      Specified by:
      getVersionBytes in interface MembershipSpecOrBuilder
      Returns:
      The bytes for version.
    • getCluster

      public String getCluster()
       The user-specified cluster name used by Config Sync cluster-name-selector
       annotation or ClusterSelector, for applying configs to only a subset
       of clusters.
       Omit this field if the cluster's fleet membership name is used by Config
       Sync cluster-name-selector annotation or ClusterSelector.
       Set this field if a name different from the cluster's fleet membership name
       is used by Config Sync cluster-name-selector annotation or ClusterSelector.
       
      string cluster = 11;
      Specified by:
      getCluster in interface MembershipSpecOrBuilder
      Returns:
      The cluster.
    • getClusterBytes

      public com.google.protobuf.ByteString getClusterBytes()
       The user-specified cluster name used by Config Sync cluster-name-selector
       annotation or ClusterSelector, for applying configs to only a subset
       of clusters.
       Omit this field if the cluster's fleet membership name is used by Config
       Sync cluster-name-selector annotation or ClusterSelector.
       Set this field if a name different from the cluster's fleet membership name
       is used by Config Sync cluster-name-selector annotation or ClusterSelector.
       
      string cluster = 11;
      Specified by:
      getClusterBytes in interface MembershipSpecOrBuilder
      Returns:
      The bytes for cluster.
    • getManagementValue

      public int getManagementValue()
       Enables automatic Feature management.
       
      .google.cloud.gkehub.configmanagement.v1.MembershipSpec.Management management = 12;
      Specified by:
      getManagementValue in interface MembershipSpecOrBuilder
      Returns:
      The enum numeric value on the wire for management.
    • getManagement

      public MembershipSpec.Management getManagement()
       Enables automatic Feature management.
       
      .google.cloud.gkehub.configmanagement.v1.MembershipSpec.Management management = 12;
      Specified by:
      getManagement in interface MembershipSpecOrBuilder
      Returns:
      The management.
    • 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 MembershipSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static MembershipSpec parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static MembershipSpec parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static MembershipSpec.Builder newBuilder()
    • newBuilder

      public static MembershipSpec.Builder newBuilder(MembershipSpec prototype)
    • toBuilder

      public MembershipSpec.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static MembershipSpec getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<MembershipSpec> parser()
    • getParserForType

      public com.google.protobuf.Parser<MembershipSpec> 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 MembershipSpec getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder