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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MembershipState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MembershipState build()
Returns
buildPartial()
public MembershipState buildPartial()
Returns
clear()
public MembershipState.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public MembershipState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MembershipState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public MembershipState.Builder clone()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(MembershipState other)
public MembershipState.Builder mergeFrom(MembershipState other)
Parameter
Returns
public MembershipState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MembershipState.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MembershipState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public MembershipState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MembershipState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MembershipState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides