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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BINAUTHZ_FIELD_NUMBER
public static final int BINAUTHZ_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CONFIG_SYNC_FIELD_NUMBER
public static final int CONFIG_SYNC_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
HIERARCHY_CONTROLLER_FIELD_NUMBER
public static final int HIERARCHY_CONTROLLER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POLICY_CONTROLLER_FIELD_NUMBER
public static final int POLICY_CONTROLLER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static MembershipSpec getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MembershipSpec.Builder newBuilder()
newBuilder(MembershipSpec prototype)
public static MembershipSpec.Builder newBuilder(MembershipSpec prototype)
public static MembershipSpec parseDelimitedFrom(InputStream input)
public static MembershipSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MembershipSpec parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MembershipSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MembershipSpec parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MembershipSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MembershipSpec parseFrom(CodedInputStream input)
public static MembershipSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MembershipSpec parseFrom(InputStream input)
public static MembershipSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MembershipSpec parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MembershipSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MembershipSpec> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBinauthz()
public BinauthzConfig getBinauthz()
Binauthz conifguration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.BinauthzConfig binauthz = 3;
getBinauthzOrBuilder()
public BinauthzConfigOrBuilder getBinauthzOrBuilder()
Binauthz conifguration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.BinauthzConfig binauthz = 3;
getConfigSync()
public ConfigSync getConfigSync()
Config Sync configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.ConfigSync config_sync = 1;
Returns |
Type |
Description |
ConfigSync |
The configSync.
|
getConfigSyncOrBuilder()
public ConfigSyncOrBuilder getConfigSyncOrBuilder()
Config Sync configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.ConfigSync config_sync = 1;
getDefaultInstanceForType()
public MembershipSpec getDefaultInstanceForType()
getHierarchyController()
public HierarchyControllerConfig getHierarchyController()
Hierarchy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.HierarchyControllerConfig hierarchy_controller = 4;
getHierarchyControllerOrBuilder()
public HierarchyControllerConfigOrBuilder getHierarchyControllerOrBuilder()
Hierarchy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.HierarchyControllerConfig hierarchy_controller = 4;
getParserForType()
public Parser<MembershipSpec> getParserForType()
Overrides
getPolicyController()
public PolicyController getPolicyController()
Policy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.PolicyController policy_controller = 2;
getPolicyControllerOrBuilder()
public PolicyControllerOrBuilder getPolicyControllerOrBuilder()
Policy Controller configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.PolicyController policy_controller = 2;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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 |
Type |
Description |
ByteString |
The bytes for version.
|
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 |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MembershipSpec.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MembershipSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public MembershipSpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides