Class MembershipState.Builder (1.47.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage>
Returns
Type Description
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
Name Description
value AnalysisMessage
Returns
Type Description
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
Name Description
builderForValue AnalysisMessage.Builder
Returns
Type Description
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
Name Description
index int
value AnalysisMessage
Returns
Type Description
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
Name Description
index int
builderForValue AnalysisMessage.Builder
Returns
Type Description
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
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 MembershipState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MembershipState.Builder
Overrides

build()

public MembershipState build()
Returns
Type Description
MembershipState

buildPartial()

public MembershipState buildPartial()
Returns
Type Description
MembershipState

clear()

public MembershipState.Builder clear()
Returns
Type Description
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
Type Description
MembershipState.Builder

clearField(Descriptors.FieldDescriptor field)

public MembershipState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MembershipState.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MembershipState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MembershipState.Builder
Overrides

clone()

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

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

public MembershipState.Builder mergeFrom(MembershipState other)
Parameter
Name Description
other MembershipState
Returns
Type Description
MembershipState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MembershipState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipState.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MembershipState.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MembershipState.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MembershipState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
value AnalysisMessage
Returns
Type Description
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
Name Description
index int
builderForValue AnalysisMessage.Builder
Returns
Type Description
MembershipState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MembershipState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MembershipState.Builder
Overrides

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

public MembershipState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MembershipState.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MembershipState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MembershipState.Builder
Overrides