Interface AnalysisMessageOrBuilder (1.34.0)

public interface AnalysisMessageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArgs()

public abstract 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
TypeDescription
Struct

The args.

getArgsOrBuilder()

public abstract 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
TypeDescription
StructOrBuilder

getDescription()

public abstract String getDescription()

A human readable description of what the error means. It is suitable for non-internationalize display purposes.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

A human readable description of what the error means. It is suitable for non-internationalize display purposes.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getMessageBase()

public abstract AnalysisMessageBase getMessageBase()

Details common to all types of Istio and ServiceMesh analysis messages.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;

Returns
TypeDescription
AnalysisMessageBase

The messageBase.

getMessageBaseOrBuilder()

public abstract AnalysisMessageBaseOrBuilder getMessageBaseOrBuilder()

Details common to all types of Istio and ServiceMesh analysis messages.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;

Returns
TypeDescription
AnalysisMessageBaseOrBuilder

getResourcePaths(int index)

public abstract 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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The resourcePaths at the given index.

getResourcePathsBytes(int index)

public abstract 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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the resourcePaths at the given index.

getResourcePathsCount()

public abstract 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
TypeDescription
int

The count of resourcePaths.

getResourcePathsList()

public abstract List<String> 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
TypeDescription
List<String>

A list containing the resourcePaths.

hasArgs()

public abstract 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
TypeDescription
boolean

Whether the args field is set.

hasMessageBase()

public abstract boolean hasMessageBase()

Details common to all types of Istio and ServiceMesh analysis messages.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;

Returns
TypeDescription
boolean

Whether the messageBase field is set.