Class AnalysisMessageBase (1.6.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
TypeDescription
int

LEVEL_FIELD_NUMBER

public static final int LEVEL_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnalysisMessageBase getDefaultInstance()
Returns
TypeDescription
AnalysisMessageBase

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AnalysisMessageBase.Builder newBuilder()
Returns
TypeDescription
AnalysisMessageBase.Builder

newBuilder(AnalysisMessageBase prototype)

public static AnalysisMessageBase.Builder newBuilder(AnalysisMessageBase prototype)
Parameter
NameDescription
prototypeAnalysisMessageBase
Returns
TypeDescription
AnalysisMessageBase.Builder

parseDelimitedFrom(InputStream input)

public static AnalysisMessageBase parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalysisMessageBase
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisMessageBase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisMessageBase
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AnalysisMessageBase parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AnalysisMessageBase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnalysisMessageBase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisMessageBase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnalysisMessageBase parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AnalysisMessageBase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnalysisMessageBase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisMessageBase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnalysisMessageBase parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AnalysisMessageBase
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisMessageBase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisMessageBase
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AnalysisMessageBase parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalysisMessageBase
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisMessageBase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisMessageBase
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AnalysisMessageBase parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AnalysisMessageBase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnalysisMessageBase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisMessageBase
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AnalysisMessageBase> parser()
Returns
TypeDescription
Parser<AnalysisMessageBase>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AnalysisMessageBase getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AnalysisMessageBase.Level

The level.

getLevelValue()

public int getLevelValue()

Represents how severe a message is.

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

Returns
TypeDescription
int

The enum numeric value on the wire for level.

getParserForType()

public Parser<AnalysisMessageBase> getParserForType()
Returns
TypeDescription
Parser<AnalysisMessageBase>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public AnalysisMessageBase.Type getType()

Represents the specific type of a message.

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

Returns
TypeDescription
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
TypeDescription
AnalysisMessageBase.TypeOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasType()

public boolean hasType()

Represents the specific type of a message.

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

Returns
TypeDescription
boolean

Whether the type field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AnalysisMessageBase.Builder newBuilderForType()
Returns
TypeDescription
AnalysisMessageBase.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalysisMessageBase.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AnalysisMessageBase.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AnalysisMessageBase.Builder toBuilder()
Returns
TypeDescription
AnalysisMessageBase.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException