public final class MembershipSpec extends GeneratedMessageV3 implements MembershipSpecOrBuilder
Anthos Config Management: Configuration for a single cluster.
Intended to parallel the ConfigManagement CR.
Protobuf type google.cloud.gkehub.configmanagement.v1alpha.MembershipSpec
Static Fields
BINAUTHZ_FIELD_NUMBER
public static final int BINAUTHZ_FIELD_NUMBER
Field Value
CONFIG_SYNC_FIELD_NUMBER
public static final int CONFIG_SYNC_FIELD_NUMBER
Field Value
HIERARCHY_CONTROLLER_FIELD_NUMBER
public static final int HIERARCHY_CONTROLLER_FIELD_NUMBER
Field Value
POLICY_CONTROLLER_FIELD_NUMBER
public static final int POLICY_CONTROLLER_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static MembershipSpec getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static MembershipSpec.Builder newBuilder()
Returns
newBuilder(MembershipSpec prototype)
public static MembershipSpec.Builder newBuilder(MembershipSpec prototype)
Parameter
Returns
public static MembershipSpec parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static MembershipSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static MembershipSpec parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MembershipSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static MembershipSpec parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MembershipSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MembershipSpec parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static MembershipSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MembershipSpec parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static MembershipSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static MembershipSpec parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MembershipSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<MembershipSpec> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBinauthz()
public BinauthzConfig getBinauthz()
Binauthz conifguration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.BinauthzConfig binauthz = 3;
Returns
getBinauthzOrBuilder()
public BinauthzConfigOrBuilder getBinauthzOrBuilder()
Binauthz conifguration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.BinauthzConfig binauthz = 3;
Returns
getConfigSync()
public ConfigSync getConfigSync()
Config Sync configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.ConfigSync config_sync = 1;
Returns
getConfigSyncOrBuilder()
public ConfigSyncOrBuilder getConfigSyncOrBuilder()
Config Sync configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.ConfigSync config_sync = 1;
Returns
getDefaultInstanceForType()
public MembershipSpec getDefaultInstanceForType()
Returns
getHierarchyController()
public HierarchyControllerConfig getHierarchyController()
Hierarchy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.HierarchyControllerConfig hierarchy_controller = 4;
Returns
getHierarchyControllerOrBuilder()
public HierarchyControllerConfigOrBuilder getHierarchyControllerOrBuilder()
Hierarchy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.HierarchyControllerConfig hierarchy_controller = 4;
Returns
getParserForType()
public Parser<MembershipSpec> getParserForType()
Returns
Overrides
getPolicyController()
public PolicyController getPolicyController()
Policy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.PolicyController policy_controller = 2;
Returns
getPolicyControllerOrBuilder()
public PolicyControllerOrBuilder getPolicyControllerOrBuilder()
Policy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.PolicyController policy_controller = 2;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
hasBinauthz()
public boolean hasBinauthz()
Binauthz conifguration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.BinauthzConfig binauthz = 3;
Returns
Type | Description |
boolean | Whether the binauthz field is set.
|
hasConfigSync()
public boolean hasConfigSync()
Config Sync configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.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.v1alpha.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.v1alpha.PolicyController policy_controller = 2;
Returns
Type | Description |
boolean | Whether the policyController field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public MembershipSpec.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MembershipSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public MembershipSpec.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions