Class ScopeFeatureState.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ScopeFeatureState build()
Returns
TypeDescription
ScopeFeatureState

buildPartial()

public ScopeFeatureState buildPartial()
Returns
TypeDescription
ScopeFeatureState

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ScopeFeatureState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ScopeFeatureState.Builder

clone()

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

getDefaultInstanceForType()

public ScopeFeatureState getDefaultInstanceForType()
Returns
TypeDescription
ScopeFeatureState

getDescriptorForType()

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

public ScopeFeatureState.Builder mergeFrom(ScopeFeatureState other)
Parameter
NameDescription
otherScopeFeatureState
Returns
TypeDescription
ScopeFeatureState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ScopeFeatureState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueFeatureState
Returns
TypeDescription
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
NameDescription
builderForValueFeatureState.Builder
Returns
TypeDescription
ScopeFeatureState.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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