Class MembershipFeatureState.Builder (1.54.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.v1alpha.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.v1alpha.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

clearMetering()

public MembershipFeatureState.Builder clearMetering()

Metering-specific spec.

.google.cloud.gkehub.metering.v1alpha.MembershipState metering = 104;

Returns
Type Description
MembershipFeatureState.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServicemesh()

public MembershipFeatureState.Builder clearServicemesh()

Service Mesh-specific state.

.google.cloud.gkehub.servicemesh.v1alpha.MembershipState servicemesh = 100;

Returns
Type Description
MembershipFeatureState.Builder

clearState()

public MembershipFeatureState.Builder clearState()

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

.google.cloud.gkehub.v1alpha.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.v1alpha.MembershipState configmanagement = 106;

Returns
Type Description
MembershipState

The configmanagement.

getConfigmanagementBuilder()

public MembershipState.Builder getConfigmanagementBuilder()

Config Management-specific state.

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

Returns
Type Description
MembershipState.Builder

getConfigmanagementOrBuilder()

public MembershipStateOrBuilder getConfigmanagementOrBuilder()

Config Management-specific state.

.google.cloud.gkehub.configmanagement.v1alpha.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

getMetering()

public MembershipState getMetering()

Metering-specific spec.

.google.cloud.gkehub.metering.v1alpha.MembershipState metering = 104;

Returns
Type Description
MembershipState

The metering.

getMeteringBuilder()

public MembershipState.Builder getMeteringBuilder()

Metering-specific spec.

.google.cloud.gkehub.metering.v1alpha.MembershipState metering = 104;

Returns
Type Description
MembershipState.Builder

getMeteringOrBuilder()

public MembershipStateOrBuilder getMeteringOrBuilder()

Metering-specific spec.

.google.cloud.gkehub.metering.v1alpha.MembershipState metering = 104;

Returns
Type Description
MembershipStateOrBuilder

getServicemesh()

public MembershipState getServicemesh()

Service Mesh-specific state.

.google.cloud.gkehub.servicemesh.v1alpha.MembershipState servicemesh = 100;

Returns
Type Description
MembershipState

The servicemesh.

getServicemeshBuilder()

public MembershipState.Builder getServicemeshBuilder()

Service Mesh-specific state.

.google.cloud.gkehub.servicemesh.v1alpha.MembershipState servicemesh = 100;

Returns
Type Description
MembershipState.Builder

getServicemeshOrBuilder()

public MembershipStateOrBuilder getServicemeshOrBuilder()

Service Mesh-specific state.

.google.cloud.gkehub.servicemesh.v1alpha.MembershipState servicemesh = 100;

Returns
Type Description
MembershipStateOrBuilder

getState()

public FeatureState getState()

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

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

Returns
Type Description
FeatureStateOrBuilder

hasConfigmanagement()

public boolean hasConfigmanagement()

Config Management-specific state.

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

Returns
Type Description
boolean

Whether the configmanagement field is set.

hasMetering()

public boolean hasMetering()

Metering-specific spec.

.google.cloud.gkehub.metering.v1alpha.MembershipState metering = 104;

Returns
Type Description
boolean

Whether the metering field is set.

hasServicemesh()

public boolean hasServicemesh()

Service Mesh-specific state.

.google.cloud.gkehub.servicemesh.v1alpha.MembershipState servicemesh = 100;

Returns
Type Description
boolean

Whether the servicemesh field is set.

hasState()

public boolean hasState()

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

.google.cloud.gkehub.v1alpha.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.v1alpha.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

mergeMetering(MembershipState value)

public MembershipFeatureState.Builder mergeMetering(MembershipState value)

Metering-specific spec.

.google.cloud.gkehub.metering.v1alpha.MembershipState metering = 104;

Parameter
Name Description
value MembershipState
Returns
Type Description
MembershipFeatureState.Builder

mergeServicemesh(MembershipState value)

public MembershipFeatureState.Builder mergeServicemesh(MembershipState value)

Service Mesh-specific state.

.google.cloud.gkehub.servicemesh.v1alpha.MembershipState servicemesh = 100;

Parameter
Name Description
value MembershipState
Returns
Type Description
MembershipFeatureState.Builder

mergeState(FeatureState value)

public MembershipFeatureState.Builder mergeState(FeatureState value)

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

.google.cloud.gkehub.v1alpha.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.v1alpha.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.v1alpha.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

setMetering(MembershipState value)

public MembershipFeatureState.Builder setMetering(MembershipState value)

Metering-specific spec.

.google.cloud.gkehub.metering.v1alpha.MembershipState metering = 104;

Parameter
Name Description
value MembershipState
Returns
Type Description
MembershipFeatureState.Builder

setMetering(MembershipState.Builder builderForValue)

public MembershipFeatureState.Builder setMetering(MembershipState.Builder builderForValue)

Metering-specific spec.

.google.cloud.gkehub.metering.v1alpha.MembershipState metering = 104;

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

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

setServicemesh(MembershipState value)

public MembershipFeatureState.Builder setServicemesh(MembershipState value)

Service Mesh-specific state.

.google.cloud.gkehub.servicemesh.v1alpha.MembershipState servicemesh = 100;

Parameter
Name Description
value MembershipState
Returns
Type Description
MembershipFeatureState.Builder

setServicemesh(MembershipState.Builder builderForValue)

public MembershipFeatureState.Builder setServicemesh(MembershipState.Builder builderForValue)

Service Mesh-specific state.

.google.cloud.gkehub.servicemesh.v1alpha.MembershipState servicemesh = 100;

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

setState(FeatureState value)

public MembershipFeatureState.Builder setState(FeatureState value)

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

.google.cloud.gkehub.v1alpha.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.v1alpha.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