Class ScopeFeatureState.Builder (0.15.0)

public static final class ScopeFeatureState.Builder extends GeneratedMessageV3.Builder<ScopeFeatureState.Builder> implements ScopeFeatureStateOrBuilder

ScopeFeatureState contains Scope-wide Feature status information.

Protobuf type google.events.cloud.gkehub.v1.ScopeFeatureState

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ScopeFeatureState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ScopeFeatureState.Builder
Overrides

build()

public ScopeFeatureState build()
Returns
Type Description
ScopeFeatureState

buildPartial()

public ScopeFeatureState buildPartial()
Returns
Type Description
ScopeFeatureState

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ScopeFeatureState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ScopeFeatureState.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public ScopeFeatureState.Builder clearState()

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

.google.events.cloud.gkehub.v1.FeatureState state = 1;

Returns
Type Description
ScopeFeatureState.Builder

clone()

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

getDefaultInstanceForType()

public ScopeFeatureState getDefaultInstanceForType()
Returns
Type Description
ScopeFeatureState

getDescriptorForType()

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

getState()

public FeatureState getState()

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

.google.events.cloud.gkehub.v1.FeatureState state = 1;

Returns
Type Description
FeatureState

The state.

getStateBuilder()

public FeatureState.Builder getStateBuilder()

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

.google.events.cloud.gkehub.v1.FeatureState state = 1;

Returns
Type Description
FeatureState.Builder

getStateOrBuilder()

public FeatureStateOrBuilder getStateOrBuilder()

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

.google.events.cloud.gkehub.v1.FeatureState state = 1;

Returns
Type Description
FeatureStateOrBuilder

hasState()

public boolean hasState()

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

.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(ScopeFeatureState other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeState(FeatureState value)

public ScopeFeatureState.Builder mergeState(FeatureState value)

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

.google.events.cloud.gkehub.v1.FeatureState state = 1;

Parameter
Name Description
value FeatureState
Returns
Type Description
ScopeFeatureState.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ScopeFeatureState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ScopeFeatureState.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ScopeFeatureState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ScopeFeatureState.Builder
Overrides

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

public ScopeFeatureState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ScopeFeatureState.Builder
Overrides

setState(FeatureState value)

public ScopeFeatureState.Builder setState(FeatureState value)

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

.google.events.cloud.gkehub.v1.FeatureState state = 1;

Parameter
Name Description
value FeatureState
Returns
Type Description
ScopeFeatureState.Builder

setState(FeatureState.Builder builderForValue)

public ScopeFeatureState.Builder setState(FeatureState.Builder builderForValue)

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

.google.events.cloud.gkehub.v1.FeatureState state = 1;

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ScopeFeatureState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ScopeFeatureState.Builder
Overrides