Class CommonFeatureState.Builder (1.83.0)

public static final class CommonFeatureState.Builder extends GeneratedMessage.Builder<CommonFeatureState.Builder> implements CommonFeatureStateOrBuilder

CommonFeatureState contains Hub-wide Feature status information.

Protobuf type google.cloud.gkehub.v1alpha.CommonFeatureState

Static Methods

getDescriptor()

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

Methods

build()

public CommonFeatureState build()
Returns
Type Description
CommonFeatureState

buildPartial()

public CommonFeatureState buildPartial()
Returns
Type Description
CommonFeatureState

clear()

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

clearFeatureState()

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

clearServicemesh()

public CommonFeatureState.Builder clearServicemesh()

Service Mesh-specific state.

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

Returns
Type Description
CommonFeatureState.Builder

clearState()

public CommonFeatureState.Builder clearState()

Output only. The "running state" of the Feature in this Hub.

.google.cloud.gkehub.v1alpha.FeatureState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CommonFeatureState.Builder

getDefaultInstanceForType()

public CommonFeatureState getDefaultInstanceForType()
Returns
Type Description
CommonFeatureState

getDescriptorForType()

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

getFeatureStateCase()

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

getServicemesh()

public FeatureState getServicemesh()

Service Mesh-specific state.

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

Returns
Type Description
FeatureState

The servicemesh.

getServicemeshBuilder()

public FeatureState.Builder getServicemeshBuilder()

Service Mesh-specific state.

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

Returns
Type Description
FeatureState.Builder

getServicemeshOrBuilder()

public FeatureStateOrBuilder getServicemeshOrBuilder()

Service Mesh-specific state.

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

Returns
Type Description
FeatureStateOrBuilder

getState()

public FeatureState getState()

Output only. The "running state" of the Feature in this Hub.

.google.cloud.gkehub.v1alpha.FeatureState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FeatureState

The state.

getStateBuilder()

public FeatureState.Builder getStateBuilder()

Output only. The "running state" of the Feature in this Hub.

.google.cloud.gkehub.v1alpha.FeatureState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FeatureState.Builder

getStateOrBuilder()

public FeatureStateOrBuilder getStateOrBuilder()

Output only. The "running state" of the Feature in this Hub.

.google.cloud.gkehub.v1alpha.FeatureState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FeatureStateOrBuilder

hasServicemesh()

public boolean hasServicemesh()

Service Mesh-specific state.

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

Returns
Type Description
boolean

Whether the servicemesh field is set.

hasState()

public boolean hasState()

Output only. The "running state" of the Feature in this Hub.

.google.cloud.gkehub.v1alpha.FeatureState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the state field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CommonFeatureState other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeServicemesh(FeatureState value)

public CommonFeatureState.Builder mergeServicemesh(FeatureState value)

Service Mesh-specific state.

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

Parameter
Name Description
value FeatureState
Returns
Type Description
CommonFeatureState.Builder

mergeState(FeatureState value)

public CommonFeatureState.Builder mergeState(FeatureState value)

Output only. The "running state" of the Feature in this Hub.

.google.cloud.gkehub.v1alpha.FeatureState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FeatureState
Returns
Type Description
CommonFeatureState.Builder

setServicemesh(FeatureState value)

public CommonFeatureState.Builder setServicemesh(FeatureState value)

Service Mesh-specific state.

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

Parameter
Name Description
value FeatureState
Returns
Type Description
CommonFeatureState.Builder

setServicemesh(FeatureState.Builder builderForValue)

public CommonFeatureState.Builder setServicemesh(FeatureState.Builder builderForValue)

Service Mesh-specific state.

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

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

setState(FeatureState value)

public CommonFeatureState.Builder setState(FeatureState value)

Output only. The "running state" of the Feature in this Hub.

.google.cloud.gkehub.v1alpha.FeatureState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FeatureState
Returns
Type Description
CommonFeatureState.Builder

setState(FeatureState.Builder builderForValue)

public CommonFeatureState.Builder setState(FeatureState.Builder builderForValue)

Output only. The "running state" of the Feature in this Hub.

.google.cloud.gkehub.v1alpha.FeatureState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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