public static final class MembershipFeatureSpec.Builder extends GeneratedMessageV3.Builder<MembershipFeatureSpec.Builder> implements MembershipFeatureSpecOrBuilder
MembershipFeatureSpec contains configuration information for a single
Membership.
Protobuf type google.cloud.gkehub.v1.MembershipFeatureSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MembershipFeatureSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MembershipFeatureSpec build()
Returns
buildPartial()
public MembershipFeatureSpec buildPartial()
Returns
clear()
public MembershipFeatureSpec.Builder clear()
Returns
Overrides
clearConfigmanagement()
public MembershipFeatureSpec.Builder clearConfigmanagement()
Config Management-specific spec.
.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;
Returns
clearFeatureSpec()
public MembershipFeatureSpec.Builder clearFeatureSpec()
Returns
clearField(Descriptors.FieldDescriptor field)
public MembershipFeatureSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MembershipFeatureSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public MembershipFeatureSpec.Builder clone()
Returns
Overrides
getConfigmanagement()
public MembershipSpec getConfigmanagement()
Config Management-specific spec.
.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;
Returns
getConfigmanagementBuilder()
public MembershipSpec.Builder getConfigmanagementBuilder()
Config Management-specific spec.
.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;
Returns
getConfigmanagementOrBuilder()
public MembershipSpecOrBuilder getConfigmanagementOrBuilder()
Config Management-specific spec.
.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;
Returns
getDefaultInstanceForType()
public MembershipFeatureSpec getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFeatureSpecCase()
public MembershipFeatureSpec.FeatureSpecCase getFeatureSpecCase()
Returns
hasConfigmanagement()
public boolean hasConfigmanagement()
Config Management-specific spec.
.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;
Returns
Type | Description |
boolean | Whether the configmanagement field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeConfigmanagement(MembershipSpec value)
public MembershipFeatureSpec.Builder mergeConfigmanagement(MembershipSpec value)
Config Management-specific spec.
.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;
Parameter
Returns
mergeFrom(MembershipFeatureSpec other)
public MembershipFeatureSpec.Builder mergeFrom(MembershipFeatureSpec other)
Parameter
Returns
public MembershipFeatureSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MembershipFeatureSpec.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MembershipFeatureSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setConfigmanagement(MembershipSpec value)
public MembershipFeatureSpec.Builder setConfigmanagement(MembershipSpec value)
Config Management-specific spec.
.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;
Parameter
Returns
setConfigmanagement(MembershipSpec.Builder builderForValue)
public MembershipFeatureSpec.Builder setConfigmanagement(MembershipSpec.Builder builderForValue)
Config Management-specific spec.
.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public MembershipFeatureSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MembershipFeatureSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MembershipFeatureSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides