Class MembershipFeatureState.Builder (1.48.0)

public static final class MembershipFeatureState.Builder extends GeneratedMessageV3.Builder<MembershipFeatureState.Builder> implements MembershipFeatureStateOrBuilder

MembershipFeatureState contains Feature status information for a single Membership.

Protobuf type google.cloud.gkehub.v1.MembershipFeatureState

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MembershipFeatureState build()
Returns
Type Description
MembershipFeatureState

buildPartial()

public MembershipFeatureState buildPartial()
Returns
Type Description
MembershipFeatureState

clear()

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

clearConfigmanagement()

public MembershipFeatureState.Builder clearConfigmanagement()

Config Management-specific state.

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

Returns
Type Description
MembershipFeatureState.Builder

clearFeatureState()

public MembershipFeatureState.Builder clearFeatureState()
Returns
Type Description
MembershipFeatureState.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public MembershipFeatureState.Builder clearState()

The high-level state of this Feature for a single membership.

.google.cloud.gkehub.v1.FeatureState state = 1;

Returns
Type Description
MembershipFeatureState.Builder

clone()

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

getConfigmanagement()

public MembershipState getConfigmanagement()

Config Management-specific state.

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

Returns
Type Description
MembershipState

The configmanagement.

getConfigmanagementBuilder()

public MembershipState.Builder getConfigmanagementBuilder()

Config Management-specific state.

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

Returns
Type Description
MembershipState.Builder

getConfigmanagementOrBuilder()

public MembershipStateOrBuilder getConfigmanagementOrBuilder()

Config Management-specific state.

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

Returns
Type Description
MembershipStateOrBuilder

getDefaultInstanceForType()

public MembershipFeatureState getDefaultInstanceForType()
Returns
Type Description
MembershipFeatureState

getDescriptorForType()

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

getFeatureStateCase()

public MembershipFeatureState.FeatureStateCase getFeatureStateCase()
Returns
Type Description
MembershipFeatureState.FeatureStateCase

getState()

public FeatureState getState()

The high-level state of this Feature for a single membership.

.google.cloud.gkehub.v1.FeatureState state = 1;

Returns
Type Description
FeatureState

The state.

getStateBuilder()

public FeatureState.Builder getStateBuilder()

The high-level state of this Feature for a single membership.

.google.cloud.gkehub.v1.FeatureState state = 1;

Returns
Type Description
FeatureState.Builder

getStateOrBuilder()

public FeatureStateOrBuilder getStateOrBuilder()

The high-level state of this Feature for a single membership.

.google.cloud.gkehub.v1.FeatureState state = 1;

Returns
Type Description
FeatureStateOrBuilder

hasConfigmanagement()

public boolean hasConfigmanagement()

Config Management-specific state.

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

Returns
Type Description
boolean

Whether the configmanagement field is set.

hasState()

public boolean hasState()

The high-level state of this Feature for a single membership.

.google.cloud.gkehub.v1.FeatureState state = 1;

Returns
Type Description
boolean

Whether the state field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConfigmanagement(MembershipState value)

public MembershipFeatureState.Builder mergeConfigmanagement(MembershipState value)

Config Management-specific state.

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

Parameter
Name Description
value MembershipState
Returns
Type Description
MembershipFeatureState.Builder

mergeFrom(MembershipFeatureState other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeState(FeatureState value)

public MembershipFeatureState.Builder mergeState(FeatureState value)

The high-level state of this Feature for a single membership.

.google.cloud.gkehub.v1.FeatureState state = 1;

Parameter
Name Description
value FeatureState
Returns
Type Description
MembershipFeatureState.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConfigmanagement(MembershipState value)

public MembershipFeatureState.Builder setConfigmanagement(MembershipState value)

Config Management-specific state.

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

Parameter
Name Description
value MembershipState
Returns
Type Description
MembershipFeatureState.Builder

setConfigmanagement(MembershipState.Builder builderForValue)

public MembershipFeatureState.Builder setConfigmanagement(MembershipState.Builder builderForValue)

Config Management-specific state.

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

Parameter
Name Description
builderForValue MembershipState.Builder
Returns
Type Description
MembershipFeatureState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setState(FeatureState value)

public MembershipFeatureState.Builder setState(FeatureState value)

The high-level state of this Feature for a single membership.

.google.cloud.gkehub.v1.FeatureState state = 1;

Parameter
Name Description
value FeatureState
Returns
Type Description
MembershipFeatureState.Builder

setState(FeatureState.Builder builderForValue)

public MembershipFeatureState.Builder setState(FeatureState.Builder builderForValue)

The high-level state of this Feature for a single membership.

.google.cloud.gkehub.v1.FeatureState state = 1;

Parameter
Name Description
builderForValue FeatureState.Builder
Returns
Type Description
MembershipFeatureState.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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