Class FeatureState.Builder (1.54.0)

public static final class FeatureState.Builder extends GeneratedMessageV3.Builder<FeatureState.Builder> implements FeatureStateOrBuilder

FeatureState describes the high-level state of a Feature. It may be used to describe a Feature's state at the environ-level, or per-membershop, depending on the context.

Protobuf type google.cloud.gkehub.v1alpha.FeatureState

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FeatureState build()
Returns
Type Description
FeatureState

buildPartial()

public FeatureState buildPartial()
Returns
Type Description
FeatureState

clear()

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

clearCode()

public FeatureState.Builder clearCode()

The high-level, machine-readable status of this Feature.

.google.cloud.gkehub.v1alpha.FeatureState.Code code = 1;

Returns
Type Description
FeatureState.Builder

This builder for chaining.

clearDescription()

public FeatureState.Builder clearDescription()

A human-readable description of the current status.

string description = 2;

Returns
Type Description
FeatureState.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateTime()

public FeatureState.Builder clearUpdateTime()

The time this status and any related Feature-specific details were updated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
FeatureState.Builder

clone()

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

getCode()

public FeatureState.Code getCode()

The high-level, machine-readable status of this Feature.

.google.cloud.gkehub.v1alpha.FeatureState.Code code = 1;

Returns
Type Description
FeatureState.Code

The code.

getCodeValue()

public int getCodeValue()

The high-level, machine-readable status of this Feature.

.google.cloud.gkehub.v1alpha.FeatureState.Code code = 1;

Returns
Type Description
int

The enum numeric value on the wire for code.

getDefaultInstanceForType()

public FeatureState getDefaultInstanceForType()
Returns
Type Description
FeatureState

getDescription()

public String getDescription()

A human-readable description of the current status.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A human-readable description of the current status.

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getUpdateTime()

public Timestamp getUpdateTime()

The time this status and any related Feature-specific details were updated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

The time this status and any related Feature-specific details were updated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The time this status and any related Feature-specific details were updated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
TimestampOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

The time this status and any related Feature-specific details were updated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FeatureState other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public FeatureState.Builder mergeUpdateTime(Timestamp value)

The time this status and any related Feature-specific details were updated.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
FeatureState.Builder

setCode(FeatureState.Code value)

public FeatureState.Builder setCode(FeatureState.Code value)

The high-level, machine-readable status of this Feature.

.google.cloud.gkehub.v1alpha.FeatureState.Code code = 1;

Parameter
Name Description
value FeatureState.Code

The code to set.

Returns
Type Description
FeatureState.Builder

This builder for chaining.

setCodeValue(int value)

public FeatureState.Builder setCodeValue(int value)

The high-level, machine-readable status of this Feature.

.google.cloud.gkehub.v1alpha.FeatureState.Code code = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for code to set.

Returns
Type Description
FeatureState.Builder

This builder for chaining.

setDescription(String value)

public FeatureState.Builder setDescription(String value)

A human-readable description of the current status.

string description = 2;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
FeatureState.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public FeatureState.Builder setDescriptionBytes(ByteString value)

A human-readable description of the current status.

string description = 2;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
FeatureState.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public FeatureState.Builder setUpdateTime(Timestamp value)

The time this status and any related Feature-specific details were updated.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
FeatureState.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public FeatureState.Builder setUpdateTime(Timestamp.Builder builderForValue)

The time this status and any related Feature-specific details were updated.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
FeatureState.Builder