- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public static final class AnalysisMessage.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.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. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalysisMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The 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 | ByteString The 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. |
clearField(Descriptors.FieldDescriptor field)
public AnalysisMessage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
AnalysisMessage.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalysisMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
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. |
clone()
public AnalysisMessage.Builder clone()
Returns | |
---|---|
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;
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 | int The 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 | int The 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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalysisMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
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 | String The 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 | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
AnalysisMessage.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AnalysisMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
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 |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalysisMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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 | int The index to set the value at. |
value | String The resourcePaths to set. |
Returns | |
---|---|
Type | Description |
AnalysisMessage.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalysisMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnalysisMessage.Builder |