public static final class AnalysisMessage.Builder extends GeneratedMessage.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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AnalysisMessage.BuilderImplements
AnalysisMessageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The resourcePaths to add. |
| Returns | |
|---|---|
| Type | Description |
AnalysisMessage.Builder |
This builder for chaining. |
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resourcePaths to add. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the resourcePaths to add. |
| Returns | |
|---|---|
| Type | Description |
AnalysisMessage.Builder |
This builder for chaining. |
build()
public AnalysisMessage build()| Returns | |
|---|---|
| Type | Description |
AnalysisMessage |
|
buildPartial()
public AnalysisMessage buildPartial()| Returns | |
|---|---|
| Type | Description |
AnalysisMessage |
|
clear()
public AnalysisMessage.Builder clear()| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
AnalysisMessage.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
AnalysisMessage.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getDefaultInstanceForType()
public AnalysisMessage getDefaultInstanceForType()| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the messageBase field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
AnalysisMessage.Builder |
|
mergeFrom(AnalysisMessage other)
public AnalysisMessage.Builder mergeFrom(AnalysisMessage other)| Parameter | |
|---|---|
| Name | Description |
other |
AnalysisMessage |
| Returns | |
|---|---|
| Type | Description |
AnalysisMessage.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnalysisMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AnalysisMessage.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AnalysisMessage.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
AnalysisMessageBase |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisMessage.Builder |
This builder for chaining. |
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;
| Parameter | |
|---|---|
| Name | Description |
value |
AnalysisMessageBase |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AnalysisMessageBase.Builder |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe resourcePaths to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisMessage.Builder |
This builder for chaining. |