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 type
google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage| Modifier and Type | Method and Description |
|---|---|
AnalysisMessage.Builder |
addAllResourcePaths(Iterable<String> values)
A list of strings specifying the resource identifiers that were the cause
of message generation.
|
AnalysisMessage.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AnalysisMessage.Builder |
addResourcePaths(String value)
A list of strings specifying the resource identifiers that were the cause
of message generation.
|
AnalysisMessage.Builder |
addResourcePathsBytes(com.google.protobuf.ByteString value)
A list of strings specifying the resource identifiers that were the cause
of message generation.
|
AnalysisMessage |
build() |
AnalysisMessage |
buildPartial() |
AnalysisMessage.Builder |
clear() |
AnalysisMessage.Builder |
clearArgs()
A UI can combine these args with a template (based on message_base.type)
to produce an internationalized message.
|
AnalysisMessage.Builder |
clearDescription()
A human readable description of what the error means.
|
AnalysisMessage.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AnalysisMessage.Builder |
clearMessageBase()
Details common to all types of Istio and ServiceMesh analysis messages.
|
AnalysisMessage.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AnalysisMessage.Builder |
clearResourcePaths()
A list of strings specifying the resource identifiers that were the cause
of message generation.
|
AnalysisMessage.Builder |
clone() |
com.google.protobuf.Struct |
getArgs()
A UI can combine these args with a template (based on message_base.type)
to produce an internationalized message.
|
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.
|
com.google.protobuf.StructOrBuilder |
getArgsOrBuilder()
A UI can combine these args with a template (based on message_base.type)
to produce an internationalized message.
|
AnalysisMessage |
getDefaultInstanceForType() |
String |
getDescription()
A human readable description of what the error means.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A human readable description of what the error means.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
AnalysisMessageBase |
getMessageBase()
Details common to all types of Istio and ServiceMesh analysis messages.
|
AnalysisMessageBase.Builder |
getMessageBaseBuilder()
Details common to all types of Istio and ServiceMesh analysis messages.
|
AnalysisMessageBaseOrBuilder |
getMessageBaseOrBuilder()
Details common to all types of Istio and ServiceMesh analysis messages.
|
String |
getResourcePaths(int index)
A list of strings specifying the resource identifiers that were the cause
of message generation.
|
com.google.protobuf.ByteString |
getResourcePathsBytes(int index)
A list of strings specifying the resource identifiers that were the cause
of message generation.
|
int |
getResourcePathsCount()
A list of strings specifying the resource identifiers that were the cause
of message generation.
|
com.google.protobuf.ProtocolStringList |
getResourcePathsList()
A list of strings specifying the resource identifiers that were the cause
of message generation.
|
boolean |
hasArgs()
A UI can combine these args with a template (based on message_base.type)
to produce an internationalized message.
|
boolean |
hasMessageBase()
Details common to all types of Istio and ServiceMesh analysis messages.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
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.
|
AnalysisMessage.Builder |
mergeFrom(AnalysisMessage other) |
AnalysisMessage.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AnalysisMessage.Builder |
mergeFrom(com.google.protobuf.Message other) |
AnalysisMessage.Builder |
mergeMessageBase(AnalysisMessageBase value)
Details common to all types of Istio and ServiceMesh analysis messages.
|
AnalysisMessage.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
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.
|
AnalysisMessage.Builder |
setDescription(String value)
A human readable description of what the error means.
|
AnalysisMessage.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
A human readable description of what the error means.
|
AnalysisMessage.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AnalysisMessage.Builder |
setMessageBase(AnalysisMessageBase.Builder builderForValue)
Details common to all types of Istio and ServiceMesh analysis messages.
|
AnalysisMessage.Builder |
setMessageBase(AnalysisMessageBase value)
Details common to all types of Istio and ServiceMesh analysis messages.
|
AnalysisMessage.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AnalysisMessage.Builder |
setResourcePaths(int index,
String value)
A list of strings specifying the resource identifiers that were the cause
of message generation.
|
AnalysisMessage.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>public AnalysisMessage.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>public AnalysisMessage getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AnalysisMessage build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AnalysisMessage buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AnalysisMessage.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>public AnalysisMessage.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>public AnalysisMessage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>public AnalysisMessage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>public AnalysisMessage.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>public AnalysisMessage.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>public AnalysisMessage.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AnalysisMessage.Builder>public AnalysisMessage.Builder mergeFrom(AnalysisMessage other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>public AnalysisMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AnalysisMessage.Builder>IOExceptionpublic boolean hasMessageBase()
Details common to all types of Istio and ServiceMesh analysis messages.
.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;hasMessageBase in interface AnalysisMessageOrBuilderpublic AnalysisMessageBase getMessageBase()
Details common to all types of Istio and ServiceMesh analysis messages.
.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;getMessageBase in interface AnalysisMessageOrBuilderpublic 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;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;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;public AnalysisMessage.Builder clearMessageBase()
Details common to all types of Istio and ServiceMesh analysis messages.
.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;public AnalysisMessageBase.Builder getMessageBaseBuilder()
Details common to all types of Istio and ServiceMesh analysis messages.
.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;public AnalysisMessageBaseOrBuilder getMessageBaseOrBuilder()
Details common to all types of Istio and ServiceMesh analysis messages.
.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;getMessageBaseOrBuilder in interface AnalysisMessageOrBuilderpublic String getDescription()
A human readable description of what the error means. It is suitable for non-internationalize display purposes.
string description = 2;getDescription in interface AnalysisMessageOrBuilderpublic 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;getDescriptionBytes in interface AnalysisMessageOrBuilderpublic 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;value - The description to set.public AnalysisMessage.Builder clearDescription()
A human readable description of what the error means. It is suitable for non-internationalize display purposes.
string description = 2;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;value - The bytes for description to set.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;getResourcePathsList in interface AnalysisMessageOrBuilderpublic 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;getResourcePathsCount in interface AnalysisMessageOrBuilderpublic 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;getResourcePaths in interface AnalysisMessageOrBuilderindex - The index of the element to return.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;getResourcePathsBytes in interface AnalysisMessageOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The resourcePaths to set.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;value - The resourcePaths to add.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;values - The resourcePaths to add.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;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;value - The bytes of the resourcePaths to add.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;hasArgs in interface AnalysisMessageOrBuilderpublic 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;getArgs in interface AnalysisMessageOrBuilderpublic 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;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;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;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;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;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;getArgsOrBuilder in interface AnalysisMessageOrBuilderpublic final AnalysisMessage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>public final AnalysisMessage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AnalysisMessage.Builder>Copyright © 2024 Google LLC. All rights reserved.