Class FeatureState.Builder (1.3.6)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage>
Returns
TypeDescription
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
NameDescription
valueAnalysisMessage
Returns
TypeDescription
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
NameDescription
builderForValueAnalysisMessage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAnalysisMessage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAnalysisMessage.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AnalysisMessage.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FeatureState build()
Returns
TypeDescription
FeatureState

buildPartial()

public FeatureState buildPartial()
Returns
TypeDescription
FeatureState

clear()

public FeatureState.Builder clear()
Returns
TypeDescription
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
TypeDescription
FeatureState.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FeatureState.Builder
Overrides

clone()

public FeatureState.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageOrBuilder>

getDefaultInstanceForType()

public FeatureState getDefaultInstanceForType()
Returns
TypeDescription
FeatureState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FeatureState other)

public FeatureState.Builder mergeFrom(FeatureState other)
Parameter
NameDescription
otherFeatureState
Returns
TypeDescription
FeatureState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FeatureState.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FeatureState.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAnalysisMessage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAnalysisMessage.Builder
Returns
TypeDescription
FeatureState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public FeatureState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FeatureState.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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