Class FeatureState.Builder (1.52.0)

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

Service Mesh: State for the whole Hub, as analyzed by the Service Mesh Hub Controller.

Protobuf type google.cloud.gkehub.servicemesh.v1alpha.FeatureState

Static Methods

getDescriptor()

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

Methods

addAllAnalysisMessages(Iterable<? extends AnalysisMessage> values)

public FeatureState.Builder addAllAnalysisMessages(Iterable<? extends AnalysisMessage> values)

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage>
Returns
Type Description
FeatureState.Builder

addAnalysisMessages(AnalysisMessage value)

public FeatureState.Builder addAnalysisMessages(AnalysisMessage value)

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AnalysisMessage
Returns
Type Description
FeatureState.Builder

addAnalysisMessages(AnalysisMessage.Builder builderForValue)

public FeatureState.Builder addAnalysisMessages(AnalysisMessage.Builder builderForValue)

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

addAnalysisMessages(int index, AnalysisMessage value)

public FeatureState.Builder addAnalysisMessages(int index, AnalysisMessage value)

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AnalysisMessage
Returns
Type Description
FeatureState.Builder

addAnalysisMessages(int index, AnalysisMessage.Builder builderForValue)

public FeatureState.Builder addAnalysisMessages(int index, AnalysisMessage.Builder builderForValue)

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AnalysisMessage.Builder
Returns
Type Description
FeatureState.Builder

addAnalysisMessagesBuilder()

public AnalysisMessage.Builder addAnalysisMessagesBuilder()

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AnalysisMessage.Builder

addAnalysisMessagesBuilder(int index)

public AnalysisMessage.Builder addAnalysisMessagesBuilder(int index)

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AnalysisMessage.Builder

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

clearAnalysisMessages()

public FeatureState.Builder clearAnalysisMessages()

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FeatureState.Builder

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

clone()

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

getAnalysisMessages(int index)

public AnalysisMessage getAnalysisMessages(int index)

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AnalysisMessage

getAnalysisMessagesBuilder(int index)

public AnalysisMessage.Builder getAnalysisMessagesBuilder(int index)

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AnalysisMessage.Builder

getAnalysisMessagesBuilderList()

public List<AnalysisMessage.Builder> getAnalysisMessagesBuilderList()

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getAnalysisMessagesCount()

public int getAnalysisMessagesCount()

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getAnalysisMessagesList()

public List<AnalysisMessage> getAnalysisMessagesList()

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<AnalysisMessage>

getAnalysisMessagesOrBuilder(int index)

public AnalysisMessageOrBuilder getAnalysisMessagesOrBuilder(int index)

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AnalysisMessageOrBuilder

getAnalysisMessagesOrBuilderList()

public List<? extends AnalysisMessageOrBuilder> getAnalysisMessagesOrBuilderList()

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageOrBuilder>

getDefaultInstanceForType()

public FeatureState getDefaultInstanceForType()
Returns
Type Description
FeatureState

getDescriptorForType()

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

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

removeAnalysisMessages(int index)

public FeatureState.Builder removeAnalysisMessages(int index)

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
FeatureState.Builder

setAnalysisMessages(int index, AnalysisMessage value)

public FeatureState.Builder setAnalysisMessages(int index, AnalysisMessage value)

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AnalysisMessage
Returns
Type Description
FeatureState.Builder

setAnalysisMessages(int index, AnalysisMessage.Builder builderForValue)

public FeatureState.Builder setAnalysisMessages(int index, AnalysisMessage.Builder builderForValue)

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AnalysisMessage.Builder
Returns
Type Description
FeatureState.Builder

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