Class AnalysisMessage.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>
-
- com.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage.Builder
-
- All Implemented Interfaces:
AnalysisMessageOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AnalysisMessage
public static final class AnalysisMessage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder> implements AnalysisMessageOrBuilder
AnalysisMessage is a single message produced by an analyzer, and it used to communicate to the end user about the state of their Service Mesh configuration.
Protobuf typegoogle.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AnalysisMessage.BuilderaddAllResourcePaths(Iterable<String> values)A list of strings specifying the resource identifiers that were the cause of message generation.AnalysisMessage.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AnalysisMessage.BuilderaddResourcePaths(String value)A list of strings specifying the resource identifiers that were the cause of message generation.AnalysisMessage.BuilderaddResourcePathsBytes(com.google.protobuf.ByteString value)A list of strings specifying the resource identifiers that were the cause of message generation.AnalysisMessagebuild()AnalysisMessagebuildPartial()AnalysisMessage.Builderclear()AnalysisMessage.BuilderclearArgs()A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.AnalysisMessage.BuilderclearDescription()A human readable description of what the error means.AnalysisMessage.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AnalysisMessage.BuilderclearMessageBase()Details common to all types of Istio and ServiceMesh analysis messages.AnalysisMessage.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AnalysisMessage.BuilderclearResourcePaths()A list of strings specifying the resource identifiers that were the cause of message generation.AnalysisMessage.Builderclone()com.google.protobuf.StructgetArgs()A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.com.google.protobuf.Struct.BuildergetArgsBuilder()A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.com.google.protobuf.StructOrBuildergetArgsOrBuilder()A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.AnalysisMessagegetDefaultInstanceForType()StringgetDescription()A human readable description of what the error means.com.google.protobuf.ByteStringgetDescriptionBytes()A human readable description of what the error means.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()AnalysisMessageBasegetMessageBase()Details common to all types of Istio and ServiceMesh analysis messages.AnalysisMessageBase.BuildergetMessageBaseBuilder()Details common to all types of Istio and ServiceMesh analysis messages.AnalysisMessageBaseOrBuildergetMessageBaseOrBuilder()Details common to all types of Istio and ServiceMesh analysis messages.StringgetResourcePaths(int index)A list of strings specifying the resource identifiers that were the cause of message generation.com.google.protobuf.ByteStringgetResourcePathsBytes(int index)A list of strings specifying the resource identifiers that were the cause of message generation.intgetResourcePathsCount()A list of strings specifying the resource identifiers that were the cause of message generation.com.google.protobuf.ProtocolStringListgetResourcePathsList()A list of strings specifying the resource identifiers that were the cause of message generation.booleanhasArgs()A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.booleanhasMessageBase()Details common to all types of Istio and ServiceMesh analysis messages.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AnalysisMessage.BuildermergeArgs(com.google.protobuf.Struct value)A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.AnalysisMessage.BuildermergeFrom(AnalysisMessage other)AnalysisMessage.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AnalysisMessage.BuildermergeFrom(com.google.protobuf.Message other)AnalysisMessage.BuildermergeMessageBase(AnalysisMessageBase value)Details common to all types of Istio and ServiceMesh analysis messages.AnalysisMessage.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AnalysisMessage.BuildersetArgs(com.google.protobuf.Struct value)A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.AnalysisMessage.BuildersetArgs(com.google.protobuf.Struct.Builder builderForValue)A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.AnalysisMessage.BuildersetDescription(String value)A human readable description of what the error means.AnalysisMessage.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)A human readable description of what the error means.AnalysisMessage.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AnalysisMessage.BuildersetMessageBase(AnalysisMessageBase value)Details common to all types of Istio and ServiceMesh analysis messages.AnalysisMessage.BuildersetMessageBase(AnalysisMessageBase.Builder builderForValue)Details common to all types of Istio and ServiceMesh analysis messages.AnalysisMessage.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AnalysisMessage.BuildersetResourcePaths(int index, String value)A list of strings specifying the resource identifiers that were the cause of message generation.AnalysisMessage.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>
-
clear
public AnalysisMessage.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>
-
getDefaultInstanceForType
public AnalysisMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AnalysisMessage build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AnalysisMessage buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AnalysisMessage.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>
-
setField
public AnalysisMessage.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>
-
clearField
public AnalysisMessage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>
-
clearOneof
public AnalysisMessage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>
-
setRepeatedField
public AnalysisMessage.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>
-
addRepeatedField
public AnalysisMessage.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>
-
mergeFrom
public AnalysisMessage.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnalysisMessage.Builder>
-
mergeFrom
public AnalysisMessage.Builder mergeFrom(AnalysisMessage other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>
-
mergeFrom
public AnalysisMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnalysisMessage.Builder>- Throws:
IOException
-
hasMessageBase
public boolean hasMessageBase()
Details common to all types of Istio and ServiceMesh analysis messages.
.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;- Specified by:
hasMessageBasein interfaceAnalysisMessageOrBuilder- Returns:
- Whether the messageBase field is set.
-
getMessageBase
public AnalysisMessageBase getMessageBase()
Details common to all types of Istio and ServiceMesh analysis messages.
.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;- Specified by:
getMessageBasein interfaceAnalysisMessageOrBuilder- Returns:
- The messageBase.
-
setMessageBase
public AnalysisMessage.Builder setMessageBase(AnalysisMessageBase value)
Details common to all types of Istio and ServiceMesh analysis messages.
.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;
-
setMessageBase
public AnalysisMessage.Builder setMessageBase(AnalysisMessageBase.Builder builderForValue)
Details common to all types of Istio and ServiceMesh analysis messages.
.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;
-
mergeMessageBase
public AnalysisMessage.Builder mergeMessageBase(AnalysisMessageBase value)
Details common to all types of Istio and ServiceMesh analysis messages.
.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;
-
clearMessageBase
public AnalysisMessage.Builder clearMessageBase()
Details common to all types of Istio and ServiceMesh analysis messages.
.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;
-
getMessageBaseBuilder
public AnalysisMessageBase.Builder getMessageBaseBuilder()
Details common to all types of Istio and ServiceMesh analysis messages.
.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;
-
getMessageBaseOrBuilder
public AnalysisMessageBaseOrBuilder getMessageBaseOrBuilder()
Details common to all types of Istio and ServiceMesh analysis messages.
.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;- Specified by:
getMessageBaseOrBuilderin interfaceAnalysisMessageOrBuilder
-
getDescription
public String getDescription()
A human readable description of what the error means. It is suitable for non-internationalize display purposes.
string description = 2;- Specified by:
getDescriptionin interfaceAnalysisMessageOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A human readable description of what the error means. It is suitable for non-internationalize display purposes.
string description = 2;- Specified by:
getDescriptionBytesin interfaceAnalysisMessageOrBuilder- Returns:
- The bytes for description.
-
setDescription
public AnalysisMessage.Builder setDescription(String value)
A human readable description of what the error means. It is suitable for non-internationalize display purposes.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public AnalysisMessage.Builder clearDescription()
A human readable description of what the error means. It is suitable for non-internationalize display purposes.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public AnalysisMessage.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A human readable description of what the error means. It is suitable for non-internationalize display purposes.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getResourcePathsList
public com.google.protobuf.ProtocolStringList getResourcePathsList()
A list of strings specifying the resource identifiers that were the cause of message generation. A "path" here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster
repeated string resource_paths = 3;- Specified by:
getResourcePathsListin interfaceAnalysisMessageOrBuilder- Returns:
- A list containing the resourcePaths.
-
getResourcePathsCount
public int getResourcePathsCount()
A list of strings specifying the resource identifiers that were the cause of message generation. A "path" here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster
repeated string resource_paths = 3;- Specified by:
getResourcePathsCountin interfaceAnalysisMessageOrBuilder- Returns:
- The count of resourcePaths.
-
getResourcePaths
public String getResourcePaths(int index)
A list of strings specifying the resource identifiers that were the cause of message generation. A "path" here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster
repeated string resource_paths = 3;- Specified by:
getResourcePathsin interfaceAnalysisMessageOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The resourcePaths at the given index.
-
getResourcePathsBytes
public com.google.protobuf.ByteString getResourcePathsBytes(int index)
A list of strings specifying the resource identifiers that were the cause of message generation. A "path" here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster
repeated string resource_paths = 3;- Specified by:
getResourcePathsBytesin interfaceAnalysisMessageOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resourcePaths at the given index.
-
setResourcePaths
public AnalysisMessage.Builder setResourcePaths(int index, String value)
A list of strings specifying the resource identifiers that were the cause of message generation. A "path" here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster
repeated string resource_paths = 3;- Parameters:
index- The index to set the value at.value- The resourcePaths to set.- Returns:
- This builder for chaining.
-
addResourcePaths
public AnalysisMessage.Builder addResourcePaths(String value)
A list of strings specifying the resource identifiers that were the cause of message generation. A "path" here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster
repeated string resource_paths = 3;- Parameters:
value- The resourcePaths to add.- Returns:
- This builder for chaining.
-
addAllResourcePaths
public AnalysisMessage.Builder addAllResourcePaths(Iterable<String> values)
A list of strings specifying the resource identifiers that were the cause of message generation. A "path" here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster
repeated string resource_paths = 3;- Parameters:
values- The resourcePaths to add.- Returns:
- This builder for chaining.
-
clearResourcePaths
public AnalysisMessage.Builder clearResourcePaths()
A list of strings specifying the resource identifiers that were the cause of message generation. A "path" here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster
repeated string resource_paths = 3;- Returns:
- This builder for chaining.
-
addResourcePathsBytes
public AnalysisMessage.Builder addResourcePathsBytes(com.google.protobuf.ByteString value)
A list of strings specifying the resource identifiers that were the cause of message generation. A "path" here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster
repeated string resource_paths = 3;- Parameters:
value- The bytes of the resourcePaths to add.- Returns:
- This builder for chaining.
-
hasArgs
public boolean hasArgs()
A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
.google.protobuf.Struct args = 4;- Specified by:
hasArgsin interfaceAnalysisMessageOrBuilder- Returns:
- Whether the args field is set.
-
getArgs
public com.google.protobuf.Struct getArgs()
A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
.google.protobuf.Struct args = 4;- Specified by:
getArgsin interfaceAnalysisMessageOrBuilder- Returns:
- The args.
-
setArgs
public AnalysisMessage.Builder setArgs(com.google.protobuf.Struct value)
A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
.google.protobuf.Struct args = 4;
-
setArgs
public AnalysisMessage.Builder setArgs(com.google.protobuf.Struct.Builder builderForValue)
A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
.google.protobuf.Struct args = 4;
-
mergeArgs
public AnalysisMessage.Builder mergeArgs(com.google.protobuf.Struct value)
A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
.google.protobuf.Struct args = 4;
-
clearArgs
public AnalysisMessage.Builder clearArgs()
A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
.google.protobuf.Struct args = 4;
-
getArgsBuilder
public com.google.protobuf.Struct.Builder getArgsBuilder()
A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
.google.protobuf.Struct args = 4;
-
getArgsOrBuilder
public com.google.protobuf.StructOrBuilder getArgsOrBuilder()
A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
.google.protobuf.Struct args = 4;- Specified by:
getArgsOrBuilderin interfaceAnalysisMessageOrBuilder
-
setUnknownFields
public final AnalysisMessage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>
-
mergeUnknownFields
public final AnalysisMessage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>
-
-