Send feedback
Class MembershipSpec.Builder (1.55.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.55.0 keyboard_arrow_down
public static final class MembershipSpec . Builder extends GeneratedMessageV3 . Builder<MembershipSpec . Builder > implements MembershipSpecOrBuilder
Policy Controller : Configuration for a single cluster.
Intended to parallel the PolicyController CR.
Protobuf type google.cloud.gkehub.policycontroller.v1beta.MembershipSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MembershipSpec . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public MembershipSpec build ()
buildPartial()
public MembershipSpec buildPartial ()
clear()
public MembershipSpec . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MembershipSpec . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MembershipSpec . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearPolicyControllerHubConfig()
public MembershipSpec . Builder clearPolicyControllerHubConfig ()
Policy Controller configuration for the cluster.
.google.cloud.gkehub.policycontroller.v1beta.HubConfig policy_controller_hub_config = 1;
clearVersion()
public MembershipSpec . Builder clearVersion ()
Version of Policy Controller installed.
string version = 2;
clone()
public MembershipSpec . Builder clone ()
Overrides
getDefaultInstanceForType()
public MembershipSpec getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getPolicyControllerHubConfig()
public HubConfig getPolicyControllerHubConfig ()
Policy Controller configuration for the cluster.
.google.cloud.gkehub.policycontroller.v1beta.HubConfig policy_controller_hub_config = 1;
Returns
Type
Description
HubConfig
The policyControllerHubConfig.
getPolicyControllerHubConfigBuilder()
public HubConfig . Builder getPolicyControllerHubConfigBuilder ()
Policy Controller configuration for the cluster.
.google.cloud.gkehub.policycontroller.v1beta.HubConfig policy_controller_hub_config = 1;
getPolicyControllerHubConfigOrBuilder()
public HubConfigOrBuilder getPolicyControllerHubConfigOrBuilder ()
Policy Controller configuration for the cluster.
.google.cloud.gkehub.policycontroller.v1beta.HubConfig policy_controller_hub_config = 1;
getVersion()
public String getVersion ()
Version of Policy Controller installed.
string version = 2;
Returns
Type
Description
String
The version.
getVersionBytes()
public ByteString getVersionBytes ()
Version of Policy Controller installed.
string version = 2;
Returns
Type
Description
ByteString
The bytes for version.
hasPolicyControllerHubConfig()
public boolean hasPolicyControllerHubConfig ()
Policy Controller configuration for the cluster.
.google.cloud.gkehub.policycontroller.v1beta.HubConfig policy_controller_hub_config = 1;
Returns
Type
Description
boolean
Whether the policyControllerHubConfig field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(MembershipSpec other)
public MembershipSpec . Builder mergeFrom ( MembershipSpec other )
public MembershipSpec . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public MembershipSpec . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergePolicyControllerHubConfig(HubConfig value)
public MembershipSpec . Builder mergePolicyControllerHubConfig ( HubConfig value )
Policy Controller configuration for the cluster.
.google.cloud.gkehub.policycontroller.v1beta.HubConfig policy_controller_hub_config = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MembershipSpec . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MembershipSpec . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setPolicyControllerHubConfig(HubConfig value)
public MembershipSpec . Builder setPolicyControllerHubConfig ( HubConfig value )
Policy Controller configuration for the cluster.
.google.cloud.gkehub.policycontroller.v1beta.HubConfig policy_controller_hub_config = 1;
setPolicyControllerHubConfig(HubConfig.Builder builderForValue)
public MembershipSpec . Builder setPolicyControllerHubConfig ( HubConfig . Builder builderForValue )
Policy Controller configuration for the cluster.
.google.cloud.gkehub.policycontroller.v1beta.HubConfig policy_controller_hub_config = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MembershipSpec . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MembershipSpec . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setVersion(String value)
public MembershipSpec . Builder setVersion ( String value )
Version of Policy Controller installed.
string version = 2;
Parameter
Name
Description
value
String
The version to set.
setVersionBytes(ByteString value)
public MembershipSpec . Builder setVersionBytes ( ByteString value )
Version of Policy Controller installed.
string version = 2;
Parameter
Name
Description
value
ByteString
The bytes for version to set.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]