Class MembershipFeatureState.Builder (0.14.1)

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

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

Returns
TypeDescription
MembershipFeatureState.Builder

clone()

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

getDefaultInstanceForType()

public MembershipFeatureState getDefaultInstanceForType()
Returns
TypeDescription
MembershipFeatureState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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

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

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