Class MembershipSpec (1.5.0)

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
TypeDescription
int

CONFIG_SYNC_FIELD_NUMBER

public static final int CONFIG_SYNC_FIELD_NUMBER
Field Value
TypeDescription
int

HIERARCHY_CONTROLLER_FIELD_NUMBER

public static final int HIERARCHY_CONTROLLER_FIELD_NUMBER
Field Value
TypeDescription
int

POLICY_CONTROLLER_FIELD_NUMBER

public static final int POLICY_CONTROLLER_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MembershipSpec getDefaultInstance()
Returns
TypeDescription
MembershipSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MembershipSpec.Builder newBuilder()
Returns
TypeDescription
MembershipSpec.Builder

newBuilder(MembershipSpec prototype)

public static MembershipSpec.Builder newBuilder(MembershipSpec prototype)
Parameter
NameDescription
prototypeMembershipSpec
Returns
TypeDescription
MembershipSpec.Builder

parseDelimitedFrom(InputStream input)

public static MembershipSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MembershipSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MembershipSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MembershipSpec
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MembershipSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MembershipSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MembershipSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MembershipSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MembershipSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MembershipSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MembershipSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MembershipSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MembershipSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MembershipSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MembershipSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MembershipSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MembershipSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MembershipSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MembershipSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MembershipSpec
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MembershipSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MembershipSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MembershipSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MembershipSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MembershipSpec> parser()
Returns
TypeDescription
Parser<MembershipSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBinauthz()

public BinauthzConfig getBinauthz()

Binauthz conifguration for the cluster.

.google.cloud.gkehub.configmanagement.v1alpha.BinauthzConfig binauthz = 3;

Returns
TypeDescription
BinauthzConfig

The binauthz.

getBinauthzOrBuilder()

public BinauthzConfigOrBuilder getBinauthzOrBuilder()

Binauthz conifguration for the cluster.

.google.cloud.gkehub.configmanagement.v1alpha.BinauthzConfig binauthz = 3;

Returns
TypeDescription
BinauthzConfigOrBuilder

getConfigSync()

public ConfigSync getConfigSync()

Config Sync configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1alpha.ConfigSync config_sync = 1;

Returns
TypeDescription
ConfigSync

The configSync.

getConfigSyncOrBuilder()

public ConfigSyncOrBuilder getConfigSyncOrBuilder()

Config Sync configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1alpha.ConfigSync config_sync = 1;

Returns
TypeDescription
ConfigSyncOrBuilder

getDefaultInstanceForType()

public MembershipSpec getDefaultInstanceForType()
Returns
TypeDescription
MembershipSpec

getHierarchyController()

public HierarchyControllerConfig getHierarchyController()

Hierarchy Controller configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1alpha.HierarchyControllerConfig hierarchy_controller = 4;

Returns
TypeDescription
HierarchyControllerConfig

The hierarchyController.

getHierarchyControllerOrBuilder()

public HierarchyControllerConfigOrBuilder getHierarchyControllerOrBuilder()

Hierarchy Controller configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1alpha.HierarchyControllerConfig hierarchy_controller = 4;

Returns
TypeDescription
HierarchyControllerConfigOrBuilder

getParserForType()

public Parser<MembershipSpec> getParserForType()
Returns
TypeDescription
Parser<MembershipSpec>
Overrides

getPolicyController()

public PolicyController getPolicyController()

Policy Controller configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1alpha.PolicyController policy_controller = 2;

Returns
TypeDescription
PolicyController

The policyController.

getPolicyControllerOrBuilder()

public PolicyControllerOrBuilder getPolicyControllerOrBuilder()

Policy Controller configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1alpha.PolicyController policy_controller = 2;

Returns
TypeDescription
PolicyControllerOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVersion()

public String getVersion()

Version of ACM installed.

string version = 10;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Version of ACM installed.

string version = 10;

Returns
TypeDescription
ByteString

The bytes for version.

hasBinauthz()

public boolean hasBinauthz()

Binauthz conifguration for the cluster.

.google.cloud.gkehub.configmanagement.v1alpha.BinauthzConfig binauthz = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the policyController field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MembershipSpec.Builder newBuilderForType()
Returns
TypeDescription
MembershipSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MembershipSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MembershipSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MembershipSpec.Builder toBuilder()
Returns
TypeDescription
MembershipSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException