Class MembershipFeatureSpec.Builder (1.3.6)

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.v1alpha.MembershipFeatureSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MembershipFeatureSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MembershipFeatureSpec.Builder
Overrides

build()

public MembershipFeatureSpec build()
Returns
TypeDescription
MembershipFeatureSpec

buildPartial()

public MembershipFeatureSpec buildPartial()
Returns
TypeDescription
MembershipFeatureSpec

clear()

public MembershipFeatureSpec.Builder clear()
Returns
TypeDescription
MembershipFeatureSpec.Builder
Overrides

clearConfigmanagement()

public MembershipFeatureSpec.Builder clearConfigmanagement()

Config Management-specific spec.

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

Returns
TypeDescription
MembershipFeatureSpec.Builder

clearFeatureSpec()

public MembershipFeatureSpec.Builder clearFeatureSpec()
Returns
TypeDescription
MembershipFeatureSpec.Builder

clearField(Descriptors.FieldDescriptor field)

public MembershipFeatureSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MembershipFeatureSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MembershipFeatureSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MembershipFeatureSpec.Builder
Overrides

clone()

public MembershipFeatureSpec.Builder clone()
Returns
TypeDescription
MembershipFeatureSpec.Builder
Overrides

getConfigmanagement()

public MembershipSpec getConfigmanagement()

Config Management-specific spec.

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

Returns
TypeDescription
MembershipSpec

The configmanagement.

getConfigmanagementBuilder()

public MembershipSpec.Builder getConfigmanagementBuilder()

Config Management-specific spec.

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

Returns
TypeDescription
MembershipSpec.Builder

getConfigmanagementOrBuilder()

public MembershipSpecOrBuilder getConfigmanagementOrBuilder()

Config Management-specific spec.

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

Returns
TypeDescription
MembershipSpecOrBuilder

getDefaultInstanceForType()

public MembershipFeatureSpec getDefaultInstanceForType()
Returns
TypeDescription
MembershipFeatureSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFeatureSpecCase()

public MembershipFeatureSpec.FeatureSpecCase getFeatureSpecCase()
Returns
TypeDescription
MembershipFeatureSpec.FeatureSpecCase

hasConfigmanagement()

public boolean hasConfigmanagement()

Config Management-specific spec.

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

Returns
TypeDescription
boolean

Whether the configmanagement field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeConfigmanagement(MembershipSpec value)

public MembershipFeatureSpec.Builder mergeConfigmanagement(MembershipSpec value)

Config Management-specific spec.

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

Parameter
NameDescription
valueMembershipSpec
Returns
TypeDescription
MembershipFeatureSpec.Builder

mergeFrom(MembershipFeatureSpec other)

public MembershipFeatureSpec.Builder mergeFrom(MembershipFeatureSpec other)
Parameter
NameDescription
otherMembershipFeatureSpec
Returns
TypeDescription
MembershipFeatureSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MembershipFeatureSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MembershipFeatureSpec.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MembershipFeatureSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MembershipFeatureSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MembershipFeatureSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MembershipFeatureSpec.Builder
Overrides

setConfigmanagement(MembershipSpec value)

public MembershipFeatureSpec.Builder setConfigmanagement(MembershipSpec value)

Config Management-specific spec.

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

Parameter
NameDescription
valueMembershipSpec
Returns
TypeDescription
MembershipFeatureSpec.Builder

setConfigmanagement(MembershipSpec.Builder builderForValue)

public MembershipFeatureSpec.Builder setConfigmanagement(MembershipSpec.Builder builderForValue)

Config Management-specific spec.

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

Parameter
NameDescription
builderForValueMembershipSpec.Builder
Returns
TypeDescription
MembershipFeatureSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MembershipFeatureSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MembershipFeatureSpec.Builder
Overrides

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

public MembershipFeatureSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MembershipFeatureSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MembershipFeatureSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MembershipFeatureSpec.Builder
Overrides