Class MembershipSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkehub.configmanagement.v1beta.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.v1beta.MembershipSpec- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class**Anthos Config Management**: Configuration for a single cluster.static enumWhether 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.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.binauthz is deprecated.Deprecated.Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.static MembershipSpecstatic final com.google.protobuf.Descriptors.DescriptorDeprecated.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.hierarchy_controller is deprecated.Deprecated.Deprecated.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.management is deprecated.intDeprecated.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.management is deprecated.com.google.protobuf.Parser<MembershipSpec>Deprecated.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.policy_controller is deprecated.Deprecated.intOptional.com.google.protobuf.ByteStringOptional.booleanDeprecated.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.binauthz is deprecated.booleanOptional.inthashCode()booleanDeprecated.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.hierarchy_controller is deprecated.booleanDeprecated.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.policy_controller is deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic MembershipSpec.Builderstatic MembershipSpec.BuildernewBuilder(MembershipSpec prototype) protected MembershipSpec.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static MembershipSpecparseDelimitedFrom(InputStream input) static MembershipSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MembershipSpecparseFrom(byte[] data) static MembershipSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MembershipSpecparseFrom(com.google.protobuf.ByteString data) static MembershipSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MembershipSpecparseFrom(com.google.protobuf.CodedInputStream input) static MembershipSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MembershipSpecparseFrom(InputStream input) static MembershipSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MembershipSpecparseFrom(ByteBuffer data) static MembershipSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MembershipSpec>parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
-
BINAUTHZ_FIELD_NUMBER
public static final int BINAUTHZ_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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasConfigSync
public boolean hasConfigSync()Optional. Config Sync configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1beta.ConfigSync config_sync = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasConfigSyncin interfaceMembershipSpecOrBuilder- Returns:
- Whether the configSync field is set.
-
getConfigSync
Optional. Config Sync configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1beta.ConfigSync config_sync = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConfigSyncin interfaceMembershipSpecOrBuilder- Returns:
- The configSync.
-
getConfigSyncOrBuilder
Optional. Config Sync configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1beta.ConfigSync config_sync = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConfigSyncOrBuilderin interfaceMembershipSpecOrBuilder
-
hasPolicyController
Deprecated.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.policy_controller is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=104Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead.
.google.cloud.gkehub.configmanagement.v1beta.PolicyController policy_controller = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPolicyControllerin interfaceMembershipSpecOrBuilder- Returns:
- Whether the policyController field is set.
-
getPolicyController
Deprecated.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.policy_controller is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=104Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead.
.google.cloud.gkehub.configmanagement.v1beta.PolicyController policy_controller = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getPolicyControllerin interfaceMembershipSpecOrBuilder- Returns:
- The policyController.
-
getPolicyControllerOrBuilder
Deprecated.Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead.
.google.cloud.gkehub.configmanagement.v1beta.PolicyController policy_controller = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getPolicyControllerOrBuilderin interfaceMembershipSpecOrBuilder
-
hasBinauthz
Deprecated.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.binauthz is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=109Optional. Deprecated: Binauthz configuration will be ignored and should not be set.
.google.cloud.gkehub.configmanagement.v1beta.BinauthzConfig binauthz = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Specified by:
hasBinauthzin interfaceMembershipSpecOrBuilder- Returns:
- Whether the binauthz field is set.
-
getBinauthz
Deprecated.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.binauthz is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=109Optional. Deprecated: Binauthz configuration will be ignored and should not be set.
.google.cloud.gkehub.configmanagement.v1beta.BinauthzConfig binauthz = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getBinauthzin interfaceMembershipSpecOrBuilder- Returns:
- The binauthz.
-
getBinauthzOrBuilder
Deprecated.Optional. Deprecated: Binauthz configuration will be ignored and should not be set.
.google.cloud.gkehub.configmanagement.v1beta.BinauthzConfig binauthz = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getBinauthzOrBuilderin interfaceMembershipSpecOrBuilder
-
hasHierarchyController
Deprecated.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.hierarchy_controller is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=116Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
.google.cloud.gkehub.configmanagement.v1beta.HierarchyControllerConfig hierarchy_controller = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Specified by:
hasHierarchyControllerin interfaceMembershipSpecOrBuilder- Returns:
- Whether the hierarchyController field is set.
-
getHierarchyController
Deprecated.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.hierarchy_controller is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=116Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
.google.cloud.gkehub.configmanagement.v1beta.HierarchyControllerConfig hierarchy_controller = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getHierarchyControllerin interfaceMembershipSpecOrBuilder- Returns:
- The hierarchyController.
-
getHierarchyControllerOrBuilder
Deprecated.Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
.google.cloud.gkehub.configmanagement.v1beta.HierarchyControllerConfig hierarchy_controller = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getHierarchyControllerOrBuilderin interfaceMembershipSpecOrBuilder
-
getVersion
Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.
string version = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVersionin interfaceMembershipSpecOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.
string version = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVersionBytesin interfaceMembershipSpecOrBuilder- Returns:
- The bytes for version.
-
getCluster
Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster's fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.
string cluster = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClusterin interfaceMembershipSpecOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster's fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.
string cluster = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClusterBytesin interfaceMembershipSpecOrBuilder- Returns:
- The bytes for cluster.
-
getManagementValue
Deprecated.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.management is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=137Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.
.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.Management management = 12 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getManagementValuein interfaceMembershipSpecOrBuilder- Returns:
- The enum numeric value on the wire for management.
-
getManagement
Deprecated.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.management is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=137Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.
.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.Management management = 12 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getManagementin interfaceMembershipSpecOrBuilder- Returns:
- The management.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static MembershipSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MembershipSpec.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-