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.v1beta.FeatureState
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FeatureState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public FeatureState build()
Returns
buildPartial()
public FeatureState buildPartial()
Returns
clear()
public FeatureState.Builder clear()
Returns
Overrides
clearCode()
public FeatureState.Builder clearCode()
The high-level, machine-readable status of this Feature.
.google.cloud.gkehub.v1beta.FeatureState.Code code = 1;
Returns
clearDescription()
public FeatureState.Builder clearDescription()
A human-readable description of the current status.
string description = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public FeatureState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FeatureState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public FeatureState.Builder clone()
Returns
Overrides
getCode()
public FeatureState.Code getCode()
The high-level, machine-readable status of this Feature.
.google.cloud.gkehub.v1beta.FeatureState.Code code = 1;
Returns
getCodeValue()
public int getCodeValue()
The high-level, machine-readable status of this Feature.
.google.cloud.gkehub.v1beta.FeatureState.Code code = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for code.
|
getDefaultInstanceForType()
public FeatureState getDefaultInstanceForType()
Returns
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.
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
The time this status and any related Feature-specific details were updated.
.google.protobuf.Timestamp update_time = 3;
Returns
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
The time this status and any related Feature-specific details were updated.
.google.protobuf.Timestamp update_time = 3;
Returns
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
The time this status and any related Feature-specific details were updated.
.google.protobuf.Timestamp update_time = 3;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(FeatureState other)
public FeatureState.Builder mergeFrom(FeatureState other)
Parameter
Returns
public FeatureState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public FeatureState.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FeatureState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setCode(FeatureState.Code value)
public FeatureState.Builder setCode(FeatureState.Code value)
The high-level, machine-readable status of this Feature.
.google.cloud.gkehub.v1beta.FeatureState.Code code = 1;
Parameter
Returns
setCodeValue(int value)
public FeatureState.Builder setCodeValue(int value)
The high-level, machine-readable status of this Feature.
.google.cloud.gkehub.v1beta.FeatureState.Code code = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for code to set.
|
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public FeatureState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FeatureState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FeatureState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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