Class MembershipFeatureSpec.Builder (1.54.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MembershipFeatureSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MembershipFeatureSpec.Builder
Overrides

build()

public MembershipFeatureSpec build()
Returns
Type Description
MembershipFeatureSpec

buildPartial()

public MembershipFeatureSpec buildPartial()
Returns
Type Description
MembershipFeatureSpec

clear()

public MembershipFeatureSpec.Builder clear()
Returns
Type Description
MembershipFeatureSpec.Builder
Overrides

clearConfigmanagement()

public MembershipFeatureSpec.Builder clearConfigmanagement()

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;

Returns
Type Description
MembershipFeatureSpec.Builder

clearFeatureSpec()

public MembershipFeatureSpec.Builder clearFeatureSpec()
Returns
Type Description
MembershipFeatureSpec.Builder

clearField(Descriptors.FieldDescriptor field)

public MembershipFeatureSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MembershipFeatureSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MembershipFeatureSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MembershipFeatureSpec.Builder
Overrides

clone()

public MembershipFeatureSpec.Builder clone()
Returns
Type Description
MembershipFeatureSpec.Builder
Overrides

getConfigmanagement()

public MembershipSpec getConfigmanagement()

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;

Returns
Type Description
MembershipSpec

The configmanagement.

getConfigmanagementBuilder()

public MembershipSpec.Builder getConfigmanagementBuilder()

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;

Returns
Type Description
MembershipSpec.Builder

getConfigmanagementOrBuilder()

public MembershipSpecOrBuilder getConfigmanagementOrBuilder()

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;

Returns
Type Description
MembershipSpecOrBuilder

getDefaultInstanceForType()

public MembershipFeatureSpec getDefaultInstanceForType()
Returns
Type Description
MembershipFeatureSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFeatureSpecCase()

public MembershipFeatureSpec.FeatureSpecCase getFeatureSpecCase()
Returns
Type Description
MembershipFeatureSpec.FeatureSpecCase

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConfigmanagement(MembershipSpec value)

public MembershipFeatureSpec.Builder mergeConfigmanagement(MembershipSpec value)

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;

Parameter
Name Description
value MembershipSpec
Returns
Type Description
MembershipFeatureSpec.Builder

mergeFrom(MembershipFeatureSpec other)

public MembershipFeatureSpec.Builder mergeFrom(MembershipFeatureSpec other)
Parameter
Name Description
other MembershipFeatureSpec
Returns
Type Description
MembershipFeatureSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MembershipFeatureSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipFeatureSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MembershipFeatureSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MembershipFeatureSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MembershipFeatureSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MembershipFeatureSpec.Builder
Overrides

setConfigmanagement(MembershipSpec value)

public MembershipFeatureSpec.Builder setConfigmanagement(MembershipSpec value)

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;

Parameter
Name Description
value MembershipSpec
Returns
Type Description
MembershipFeatureSpec.Builder

setConfigmanagement(MembershipSpec.Builder builderForValue)

public MembershipFeatureSpec.Builder setConfigmanagement(MembershipSpec.Builder builderForValue)

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;

Parameter
Name Description
builderForValue MembershipSpec.Builder
Returns
Type Description
MembershipFeatureSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MembershipFeatureSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MembershipFeatureSpec.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MembershipFeatureSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MembershipFeatureSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MembershipFeatureSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MembershipFeatureSpec.Builder
Overrides