Class MembershipFeatureState.Builder (0.15.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.events.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

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.events.cloud.gkehub.v1.FeatureState state = 1;

Returns
Type Description
MembershipFeatureState.Builder

clone()

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

getDefaultInstanceForType()

public MembershipFeatureState getDefaultInstanceForType()
Returns
Type Description
MembershipFeatureState

getDescriptorForType()

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

getState()

public FeatureState getState()

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

.google.events.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.events.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.events.cloud.gkehub.v1.FeatureState state = 1;

Returns
Type Description
FeatureStateOrBuilder

hasState()

public boolean hasState()

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

.google.events.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

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.events.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

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.events.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.events.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