public static final class AnalysisMessage.Builder extends GeneratedMessageV3.Builder<AnalysisMessage.Builder> implements AnalysisMessageOrBuilderAnalysisMessage 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalysisMessage.BuilderImplements
AnalysisMessageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addAllResourcePaths(Iterable<String> values)
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;
| Name | Description |
| values | Iterable<String>The resourcePaths to add. |
| Type | Description |
| AnalysisMessage.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalysisMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| AnalysisMessage.Builder |
addResourcePaths(String value)
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;
| Name | Description |
| value | StringThe resourcePaths to add. |
| Type | Description |
| AnalysisMessage.Builder | This builder for chaining. |
addResourcePathsBytes(ByteString value)
public AnalysisMessage.Builder addResourcePathsBytes(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;
| Name | Description |
| value | ByteStringThe bytes of the resourcePaths to add. |
| Type | Description |
| AnalysisMessage.Builder | This builder for chaining. |
build()
public AnalysisMessage build()| Type | Description |
| AnalysisMessage |
buildPartial()
public AnalysisMessage buildPartial()| Type | Description |
| AnalysisMessage |
clear()
public AnalysisMessage.Builder clear()| Type | Description |
| AnalysisMessage.Builder |
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;
| Type | Description |
| AnalysisMessage.Builder |
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;
| Type | Description |
| AnalysisMessage.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AnalysisMessage.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| AnalysisMessage.Builder |
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;
| Type | Description |
| AnalysisMessage.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalysisMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| AnalysisMessage.Builder |
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;
| Type | Description |
| AnalysisMessage.Builder | This builder for chaining. |
clone()
public AnalysisMessage.Builder clone()| Type | Description |
| AnalysisMessage.Builder |
getArgs()
public 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;
| Type | Description |
| Struct | The args. |
getArgsBuilder()
public 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;
| Type | Description |
| Builder |
getArgsOrBuilder()
public 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;
| Type | Description |
| StructOrBuilder |
getDefaultInstanceForType()
public AnalysisMessage getDefaultInstanceForType()| Type | Description |
| AnalysisMessage |
getDescription()
public String getDescription()A human readable description of what the error means. It is suitable for non-internationalize display purposes.
string description = 2;
| Type | Description |
| String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()A human readable description of what the error means. It is suitable for non-internationalize display purposes.
string description = 2;
| Type | Description |
| ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getMessageBase()
public AnalysisMessageBase getMessageBase()Details common to all types of Istio and ServiceMesh analysis messages.
.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;
| Type | Description |
| AnalysisMessageBase | The messageBase. |
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;
| Type | Description |
| AnalysisMessageBase.Builder |
getMessageBaseOrBuilder()
public AnalysisMessageBaseOrBuilder getMessageBaseOrBuilder()Details common to all types of Istio and ServiceMesh analysis messages.
.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;
| Type | Description |
| AnalysisMessageBaseOrBuilder |
getResourcePaths(int index)
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;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The resourcePaths at the given index. |
getResourcePathsBytes(int index)
public 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;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the resourcePaths at the given index. |
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;
| Type | Description |
| int | The count of resourcePaths. |
getResourcePathsList()
public 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;
| Type | Description |
| ProtocolStringList | A list containing the resourcePaths. |
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;
| Type | Description |
| boolean | Whether the args field is set. |
hasMessageBase()
public boolean hasMessageBase()Details common to all types of Istio and ServiceMesh analysis messages.
.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;
| Type | Description |
| boolean | Whether the messageBase field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeArgs(Struct value)
public AnalysisMessage.Builder mergeArgs(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;
| Name | Description |
| value | Struct |
| Type | Description |
| AnalysisMessage.Builder |
mergeFrom(AnalysisMessage other)
public AnalysisMessage.Builder mergeFrom(AnalysisMessage other)| Name | Description |
| other | AnalysisMessage |
| Type | Description |
| AnalysisMessage.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnalysisMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| AnalysisMessage.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public AnalysisMessage.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| AnalysisMessage.Builder |
mergeMessageBase(AnalysisMessageBase value)
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;
| Name | Description |
| value | AnalysisMessageBase |
| Type | Description |
| AnalysisMessage.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalysisMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| AnalysisMessage.Builder |
setArgs(Struct value)
public AnalysisMessage.Builder setArgs(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;
| Name | Description |
| value | Struct |
| Type | Description |
| AnalysisMessage.Builder |
setArgs(Struct.Builder builderForValue)
public AnalysisMessage.Builder setArgs(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;
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| AnalysisMessage.Builder |
setDescription(String value)
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;
| Name | Description |
| value | StringThe description to set. |
| Type | Description |
| AnalysisMessage.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public AnalysisMessage.Builder setDescriptionBytes(ByteString value)A human readable description of what the error means. It is suitable for non-internationalize display purposes.
string description = 2;
| Name | Description |
| value | ByteStringThe bytes for description to set. |
| Type | Description |
| AnalysisMessage.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AnalysisMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| AnalysisMessage.Builder |
setMessageBase(AnalysisMessageBase value)
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;
| Name | Description |
| value | AnalysisMessageBase |
| Type | Description |
| AnalysisMessage.Builder |
setMessageBase(AnalysisMessageBase.Builder builderForValue)
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;
| Name | Description |
| builderForValue | AnalysisMessageBase.Builder |
| Type | Description |
| AnalysisMessage.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalysisMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| AnalysisMessage.Builder |
setResourcePaths(int index, String value)
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;
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe resourcePaths to set. |
| Type | Description |
| AnalysisMessage.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalysisMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| AnalysisMessage.Builder |