public static final class CommonFeatureState.Builder extends GeneratedMessageV3.Builder<CommonFeatureState.Builder> implements CommonFeatureStateOrBuilder
CommonFeatureState contains Hub-wide Feature status information.
Protobuf type google.events.cloud.gkehub.v1.CommonFeatureState
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CommonFeatureState.BuilderImplements
CommonFeatureStateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CommonFeatureState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CommonFeatureState.Builder |
build()
public CommonFeatureState build()
Returns | |
---|---|
Type | Description |
CommonFeatureState |
buildPartial()
public CommonFeatureState buildPartial()
Returns | |
---|---|
Type | Description |
CommonFeatureState |
clear()
public CommonFeatureState.Builder clear()
Returns | |
---|---|
Type | Description |
CommonFeatureState.Builder |
clearField(Descriptors.FieldDescriptor field)
public CommonFeatureState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CommonFeatureState.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CommonFeatureState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
CommonFeatureState.Builder |
clearState()
public CommonFeatureState.Builder clearState()
Output only. The "running state" of the Feature in this Hub.
.google.events.cloud.gkehub.v1.FeatureState state = 1;
Returns | |
---|---|
Type | Description |
CommonFeatureState.Builder |
clone()
public CommonFeatureState.Builder clone()
Returns | |
---|---|
Type | Description |
CommonFeatureState.Builder |
getDefaultInstanceForType()
public CommonFeatureState getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CommonFeatureState |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getState()
public FeatureState getState()
Output only. The "running state" of the Feature in this Hub.
.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 Hub.
.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 Hub.
.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 Hub.
.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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CommonFeatureState other)
public CommonFeatureState.Builder mergeFrom(CommonFeatureState other)
Parameter | |
---|---|
Name | Description |
other | CommonFeatureState |
Returns | |
---|---|
Type | Description |
CommonFeatureState.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CommonFeatureState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CommonFeatureState.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CommonFeatureState.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CommonFeatureState.Builder |
mergeState(FeatureState value)
public CommonFeatureState.Builder mergeState(FeatureState value)
Output only. The "running state" of the Feature in this Hub.
.google.events.cloud.gkehub.v1.FeatureState state = 1;
Parameter | |
---|---|
Name | Description |
value | FeatureState |
Returns | |
---|---|
Type | Description |
CommonFeatureState.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CommonFeatureState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CommonFeatureState.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CommonFeatureState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CommonFeatureState.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CommonFeatureState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
CommonFeatureState.Builder |
setState(FeatureState value)
public CommonFeatureState.Builder setState(FeatureState value)
Output only. The "running state" of the Feature in this Hub.
.google.events.cloud.gkehub.v1.FeatureState state = 1;
Parameter | |
---|---|
Name | Description |
value | FeatureState |
Returns | |
---|---|
Type | Description |
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.events.cloud.gkehub.v1.FeatureState state = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | FeatureState.Builder |
Returns | |
---|---|
Type | Description |
CommonFeatureState.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CommonFeatureState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CommonFeatureState.Builder |