Class AnalysisMessageBase (1.48.0)

public final class AnalysisMessageBase extends GeneratedMessageV3 implements AnalysisMessageBaseOrBuilder

AnalysisMessageBase describes some common information that is needed for all messages.

Protobuf type google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase

Static Fields

DOCUMENTATION_URL_FIELD_NUMBER

public static final int DOCUMENTATION_URL_FIELD_NUMBER
Field Value
Type Description
int

LEVEL_FIELD_NUMBER

public static final int LEVEL_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AnalysisMessageBase getDefaultInstance()
Returns
Type Description
AnalysisMessageBase

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AnalysisMessageBase.Builder newBuilder()
Returns
Type Description
AnalysisMessageBase.Builder

newBuilder(AnalysisMessageBase prototype)

public static AnalysisMessageBase.Builder newBuilder(AnalysisMessageBase prototype)
Parameter
Name Description
prototype AnalysisMessageBase
Returns
Type Description
AnalysisMessageBase.Builder

parseDelimitedFrom(InputStream input)

public static AnalysisMessageBase parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalysisMessageBase
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisMessageBase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisMessageBase
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AnalysisMessageBase parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AnalysisMessageBase
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnalysisMessageBase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisMessageBase
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnalysisMessageBase parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AnalysisMessageBase
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnalysisMessageBase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisMessageBase
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnalysisMessageBase parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AnalysisMessageBase
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisMessageBase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisMessageBase
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AnalysisMessageBase parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalysisMessageBase
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisMessageBase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisMessageBase
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AnalysisMessageBase parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AnalysisMessageBase
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnalysisMessageBase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisMessageBase
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AnalysisMessageBase> parser()
Returns
Type Description
Parser<AnalysisMessageBase>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AnalysisMessageBase getDefaultInstanceForType()
Returns
Type Description
AnalysisMessageBase

getDocumentationUrl()

public String getDocumentationUrl()

A url pointing to the Service Mesh or Istio documentation for this specific error type.

string documentation_url = 3;

Returns
Type Description
String

The documentationUrl.

getDocumentationUrlBytes()

public ByteString getDocumentationUrlBytes()

A url pointing to the Service Mesh or Istio documentation for this specific error type.

string documentation_url = 3;

Returns
Type Description
ByteString

The bytes for documentationUrl.

getLevel()

public AnalysisMessageBase.Level getLevel()

Represents how severe a message is.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Level level = 2;

Returns
Type Description
AnalysisMessageBase.Level

The level.

getLevelValue()

public int getLevelValue()

Represents how severe a message is.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Level level = 2;

Returns
Type Description
int

The enum numeric value on the wire for level.

getParserForType()

public Parser<AnalysisMessageBase> getParserForType()
Returns
Type Description
Parser<AnalysisMessageBase>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public AnalysisMessageBase.Type getType()

Represents the specific type of a message.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Type type = 1;

Returns
Type Description
AnalysisMessageBase.Type

The type.

getTypeOrBuilder()

public AnalysisMessageBase.TypeOrBuilder getTypeOrBuilder()

Represents the specific type of a message.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Type type = 1;

Returns
Type Description
AnalysisMessageBase.TypeOrBuilder

hasType()

public boolean hasType()

Represents the specific type of a message.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Type type = 1;

Returns
Type Description
boolean

Whether the type field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AnalysisMessageBase.Builder newBuilderForType()
Returns
Type Description
AnalysisMessageBase.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalysisMessageBase.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AnalysisMessageBase.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AnalysisMessageBase.Builder toBuilder()
Returns
Type Description
AnalysisMessageBase.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException