- 1.51.0 (latest)
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public static final class MembershipSpec.Builder extends GeneratedMessageV3.Builder<MembershipSpec.Builder> implements MembershipSpecOrBuilder
Anthos Config Management: Configuration for a single cluster. Intended to parallel the ConfigManagement CR.
Protobuf type google.cloud.gkehub.configmanagement.v1.MembershipSpec
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MembershipSpec.BuilderImplements
MembershipSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MembershipSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
build()
public MembershipSpec build()
Returns | |
---|---|
Type | Description |
MembershipSpec |
buildPartial()
public MembershipSpec buildPartial()
Returns | |
---|---|
Type | Description |
MembershipSpec |
clear()
public MembershipSpec.Builder clear()
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
clearCluster()
public MembershipSpec.Builder clearCluster()
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;
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
This builder for chaining. |
clearConfigSync()
public MembershipSpec.Builder clearConfigSync()
Config Sync configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.ConfigSync config_sync = 1;
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
clearField(Descriptors.FieldDescriptor field)
public MembershipSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
clearHierarchyController()
public MembershipSpec.Builder clearHierarchyController()
Hierarchy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig hierarchy_controller = 4;
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
clearManagement()
public MembershipSpec.Builder clearManagement()
Enables automatic Feature management.
.google.cloud.gkehub.configmanagement.v1.MembershipSpec.Management management = 12;
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MembershipSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
clearPolicyController()
public MembershipSpec.Builder clearPolicyController()
Policy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.PolicyController policy_controller = 2;
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
clearVersion()
public MembershipSpec.Builder clearVersion()
Version of ACM installed.
string version = 10;
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
This builder for chaining. |
clone()
public MembershipSpec.Builder clone()
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
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;
Returns | |
---|---|
Type | Description |
String |
The cluster. |
getClusterBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for cluster. |
getConfigSync()
public ConfigSync getConfigSync()
Config Sync configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.ConfigSync config_sync = 1;
Returns | |
---|---|
Type | Description |
ConfigSync |
The configSync. |
getConfigSyncBuilder()
public ConfigSync.Builder getConfigSyncBuilder()
Config Sync configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.ConfigSync config_sync = 1;
Returns | |
---|---|
Type | Description |
ConfigSync.Builder |
getConfigSyncOrBuilder()
public ConfigSyncOrBuilder getConfigSyncOrBuilder()
Config Sync configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.ConfigSync config_sync = 1;
Returns | |
---|---|
Type | Description |
ConfigSyncOrBuilder |
getDefaultInstanceForType()
public MembershipSpec getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MembershipSpec |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getHierarchyController()
public HierarchyControllerConfig getHierarchyController()
Hierarchy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig hierarchy_controller = 4;
Returns | |
---|---|
Type | Description |
HierarchyControllerConfig |
The hierarchyController. |
getHierarchyControllerBuilder()
public HierarchyControllerConfig.Builder getHierarchyControllerBuilder()
Hierarchy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig hierarchy_controller = 4;
Returns | |
---|---|
Type | Description |
HierarchyControllerConfig.Builder |
getHierarchyControllerOrBuilder()
public HierarchyControllerConfigOrBuilder getHierarchyControllerOrBuilder()
Hierarchy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig hierarchy_controller = 4;
Returns | |
---|---|
Type | Description |
HierarchyControllerConfigOrBuilder |
getManagement()
public MembershipSpec.Management getManagement()
Enables automatic Feature management.
.google.cloud.gkehub.configmanagement.v1.MembershipSpec.Management management = 12;
Returns | |
---|---|
Type | Description |
MembershipSpec.Management |
The management. |
getManagementValue()
public int getManagementValue()
Enables automatic Feature management.
.google.cloud.gkehub.configmanagement.v1.MembershipSpec.Management management = 12;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for management. |
getPolicyController()
public PolicyController getPolicyController()
Policy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.PolicyController policy_controller = 2;
Returns | |
---|---|
Type | Description |
PolicyController |
The policyController. |
getPolicyControllerBuilder()
public PolicyController.Builder getPolicyControllerBuilder()
Policy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.PolicyController policy_controller = 2;
Returns | |
---|---|
Type | Description |
PolicyController.Builder |
getPolicyControllerOrBuilder()
public PolicyControllerOrBuilder getPolicyControllerOrBuilder()
Policy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.PolicyController policy_controller = 2;
Returns | |
---|---|
Type | Description |
PolicyControllerOrBuilder |
getVersion()
public String getVersion()
Version of ACM installed.
string version = 10;
Returns | |
---|---|
Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()
Version of ACM installed.
string version = 10;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for version. |
hasConfigSync()
public boolean hasConfigSync()
Config Sync configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.ConfigSync config_sync = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the configSync field is set. |
hasHierarchyController()
public boolean hasHierarchyController()
Hierarchy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig hierarchy_controller = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the hierarchyController field is set. |
hasPolicyController()
public boolean hasPolicyController()
Policy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.PolicyController policy_controller = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the policyController field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeConfigSync(ConfigSync value)
public MembershipSpec.Builder mergeConfigSync(ConfigSync value)
Config Sync configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.ConfigSync config_sync = 1;
Parameter | |
---|---|
Name | Description |
value |
ConfigSync |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
mergeFrom(MembershipSpec other)
public MembershipSpec.Builder mergeFrom(MembershipSpec other)
Parameter | |
---|---|
Name | Description |
other |
MembershipSpec |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MembershipSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MembershipSpec.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
mergeHierarchyController(HierarchyControllerConfig value)
public MembershipSpec.Builder mergeHierarchyController(HierarchyControllerConfig value)
Hierarchy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig hierarchy_controller = 4;
Parameter | |
---|---|
Name | Description |
value |
HierarchyControllerConfig |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
mergePolicyController(PolicyController value)
public MembershipSpec.Builder mergePolicyController(PolicyController value)
Policy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.PolicyController policy_controller = 2;
Parameter | |
---|---|
Name | Description |
value |
PolicyController |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MembershipSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
setCluster(String value)
public MembershipSpec.Builder setCluster(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The cluster to set. |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
This builder for chaining. |
setClusterBytes(ByteString value)
public MembershipSpec.Builder setClusterBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for cluster to set. |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
This builder for chaining. |
setConfigSync(ConfigSync value)
public MembershipSpec.Builder setConfigSync(ConfigSync value)
Config Sync configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.ConfigSync config_sync = 1;
Parameter | |
---|---|
Name | Description |
value |
ConfigSync |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
setConfigSync(ConfigSync.Builder builderForValue)
public MembershipSpec.Builder setConfigSync(ConfigSync.Builder builderForValue)
Config Sync configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.ConfigSync config_sync = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
ConfigSync.Builder |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MembershipSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
setHierarchyController(HierarchyControllerConfig value)
public MembershipSpec.Builder setHierarchyController(HierarchyControllerConfig value)
Hierarchy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig hierarchy_controller = 4;
Parameter | |
---|---|
Name | Description |
value |
HierarchyControllerConfig |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
setHierarchyController(HierarchyControllerConfig.Builder builderForValue)
public MembershipSpec.Builder setHierarchyController(HierarchyControllerConfig.Builder builderForValue)
Hierarchy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig hierarchy_controller = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
HierarchyControllerConfig.Builder |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
setManagement(MembershipSpec.Management value)
public MembershipSpec.Builder setManagement(MembershipSpec.Management value)
Enables automatic Feature management.
.google.cloud.gkehub.configmanagement.v1.MembershipSpec.Management management = 12;
Parameter | |
---|---|
Name | Description |
value |
MembershipSpec.Management The management to set. |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
This builder for chaining. |
setManagementValue(int value)
public MembershipSpec.Builder setManagementValue(int value)
Enables automatic Feature management.
.google.cloud.gkehub.configmanagement.v1.MembershipSpec.Management management = 12;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for management to set. |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
This builder for chaining. |
setPolicyController(PolicyController value)
public MembershipSpec.Builder setPolicyController(PolicyController value)
Policy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.PolicyController policy_controller = 2;
Parameter | |
---|---|
Name | Description |
value |
PolicyController |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
setPolicyController(PolicyController.Builder builderForValue)
public MembershipSpec.Builder setPolicyController(PolicyController.Builder builderForValue)
Policy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.PolicyController policy_controller = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
PolicyController.Builder |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MembershipSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MembershipSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
setVersion(String value)
public MembershipSpec.Builder setVersion(String value)
Version of ACM installed.
string version = 10;
Parameter | |
---|---|
Name | Description |
value |
String The version to set. |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public MembershipSpec.Builder setVersionBytes(ByteString value)
Version of ACM installed.
string version = 10;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
MembershipSpec.Builder |
This builder for chaining. |