Class MembershipState.Builder (1.19.0)

public static final class MembershipState.Builder extends GeneratedMessageV3.Builder<MembershipState.Builder> implements MembershipStateOrBuilder

Service Mesh: State for a single Membership, as analyzed by the Service Mesh Hub Controller.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllAnalysisMessages(Iterable<? extends AnalysisMessage> values)

public MembershipState.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
MembershipState.Builder

addAnalysisMessages(AnalysisMessage value)

public MembershipState.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
MembershipState.Builder

addAnalysisMessages(AnalysisMessage.Builder builderForValue)

public MembershipState.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
MembershipState.Builder

addAnalysisMessages(int index, AnalysisMessage value)

public MembershipState.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
MembershipState.Builder

addAnalysisMessages(int index, AnalysisMessage.Builder builderForValue)

public MembershipState.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
MembershipState.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 MembershipState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MembershipState.Builder
Overrides

build()

public MembershipState build()
Returns
TypeDescription
MembershipState

buildPartial()

public MembershipState buildPartial()
Returns
TypeDescription
MembershipState

clear()

public MembershipState.Builder clear()
Returns
TypeDescription
MembershipState.Builder
Overrides

clearAnalysisMessages()

public MembershipState.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
MembershipState.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public MembershipState.Builder clone()
Returns
TypeDescription
MembershipState.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 MembershipState getDefaultInstanceForType()
Returns
TypeDescription
MembershipState

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(MembershipState other)

public MembershipState.Builder mergeFrom(MembershipState other)
Parameter
NameDescription
otherMembershipState
Returns
TypeDescription
MembershipState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MembershipState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MembershipState.Builder
Overrides

removeAnalysisMessages(int index)

public MembershipState.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
MembershipState.Builder

setAnalysisMessages(int index, AnalysisMessage value)

public MembershipState.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
MembershipState.Builder

setAnalysisMessages(int index, AnalysisMessage.Builder builderForValue)

public MembershipState.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
MembershipState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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