Class MembershipFeatureState.Builder (1.16.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MembershipFeatureState build()
Returns
TypeDescription
MembershipFeatureState

buildPartial()

public MembershipFeatureState buildPartial()
Returns
TypeDescription
MembershipFeatureState

clear()

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

clearConfigmanagement()

public MembershipFeatureState.Builder clearConfigmanagement()

Config Management-specific state.

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

Returns
TypeDescription
MembershipFeatureState.Builder

clearFeatureState()

public MembershipFeatureState.Builder clearFeatureState()
Returns
TypeDescription
MembershipFeatureState.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public MembershipFeatureState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
MembershipFeatureState.Builder

clone()

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

getConfigmanagement()

public MembershipState getConfigmanagement()

Config Management-specific state.

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

Returns
TypeDescription
MembershipState

The configmanagement.

getConfigmanagementBuilder()

public MembershipState.Builder getConfigmanagementBuilder()

Config Management-specific state.

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

Returns
TypeDescription
MembershipState.Builder

getConfigmanagementOrBuilder()

public MembershipStateOrBuilder getConfigmanagementOrBuilder()

Config Management-specific state.

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

Returns
TypeDescription
MembershipStateOrBuilder

getDefaultInstanceForType()

public MembershipFeatureState getDefaultInstanceForType()
Returns
TypeDescription
MembershipFeatureState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFeatureStateCase()

public MembershipFeatureState.FeatureStateCase getFeatureStateCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FeatureStateOrBuilder

hasConfigmanagement()

public boolean hasConfigmanagement()

Config Management-specific state.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the state field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeConfigmanagement(MembershipState value)

public MembershipFeatureState.Builder mergeConfigmanagement(MembershipState value)

Config Management-specific state.

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

Parameter
NameDescription
valueMembershipState
Returns
TypeDescription
MembershipFeatureState.Builder

mergeFrom(MembershipFeatureState other)

public MembershipFeatureState.Builder mergeFrom(MembershipFeatureState other)
Parameter
NameDescription
otherMembershipFeatureState
Returns
TypeDescription
MembershipFeatureState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public MembershipFeatureState.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueFeatureState
Returns
TypeDescription
MembershipFeatureState.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MembershipFeatureState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueMembershipState
Returns
TypeDescription
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
NameDescription
builderForValueMembershipState.Builder
Returns
TypeDescription
MembershipFeatureState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public MembershipFeatureState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueFeatureState
Returns
TypeDescription
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
NameDescription
builderForValueFeatureState.Builder
Returns
TypeDescription
MembershipFeatureState.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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