Class CommonFeatureState.Builder (1.6.0)

public static final class CommonFeatureState.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CommonFeatureState build()
Returns
TypeDescription
CommonFeatureState

buildPartial()

public CommonFeatureState buildPartial()
Returns
TypeDescription
CommonFeatureState

clear()

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

clearFeatureState()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CommonFeatureState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CommonFeatureState.Builder
Overrides

clearServicemesh()

public CommonFeatureState.Builder clearServicemesh()

Service Mesh-specific state.

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

Returns
TypeDescription
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
TypeDescription
CommonFeatureState.Builder

clone()

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

getDefaultInstanceForType()

public CommonFeatureState getDefaultInstanceForType()
Returns
TypeDescription
CommonFeatureState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFeatureStateCase()

public CommonFeatureState.FeatureStateCase getFeatureStateCase()
Returns
TypeDescription
CommonFeatureState.FeatureStateCase

getServicemesh()

public FeatureState getServicemesh()

Service Mesh-specific state.

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

Returns
TypeDescription
FeatureState

The servicemesh.

getServicemeshBuilder()

public FeatureState.Builder getServicemeshBuilder()

Service Mesh-specific state.

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

Returns
TypeDescription
FeatureState.Builder

getServicemeshOrBuilder()

public FeatureStateOrBuilder getServicemeshOrBuilder()

Service Mesh-specific state.

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

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

hasServicemesh()

public boolean hasServicemesh()

Service Mesh-specific state.

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

Returns
TypeDescription
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
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(CommonFeatureState other)

public CommonFeatureState.Builder mergeFrom(CommonFeatureState other)
Parameter
NameDescription
otherCommonFeatureState
Returns
TypeDescription
CommonFeatureState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CommonFeatureState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CommonFeatureState.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public CommonFeatureState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CommonFeatureState.Builder
Overrides

setServicemesh(FeatureState value)

public CommonFeatureState.Builder setServicemesh(FeatureState value)

Service Mesh-specific state.

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

Parameter
NameDescription
valueFeatureState
Returns
TypeDescription
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
NameDescription
builderForValueFeatureState.Builder
Returns
TypeDescription
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
NameDescription
valueFeatureState
Returns
TypeDescription
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
NameDescription
builderForValueFeatureState.Builder
Returns
TypeDescription
CommonFeatureState.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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