Class StatusMessage (1.16.0)

public final class StatusMessage extends GeneratedMessageV3 implements StatusMessageOrBuilder

Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message Location not found.

Protobuf type google.devtools.clouddebugger.v2.StatusMessage

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

IS_ERROR_FIELD_NUMBER

public static final int IS_ERROR_FIELD_NUMBER
Field Value
TypeDescription
int

REFERS_TO_FIELD_NUMBER

public static final int REFERS_TO_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StatusMessage getDefaultInstance()
Returns
TypeDescription
StatusMessage

getDescriptor()

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

newBuilder()

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

newBuilder(StatusMessage prototype)

public static StatusMessage.Builder newBuilder(StatusMessage prototype)
Parameter
NameDescription
prototypeStatusMessage
Returns
TypeDescription
StatusMessage.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public StatusMessage getDefaultInstanceForType()
Returns
TypeDescription
StatusMessage

getDescription()

public FormatMessage getDescription()

Status message text.

.google.devtools.clouddebugger.v2.FormatMessage description = 3;

Returns
TypeDescription
FormatMessage

The description.

getDescriptionOrBuilder()

public FormatMessageOrBuilder getDescriptionOrBuilder()

Status message text.

.google.devtools.clouddebugger.v2.FormatMessage description = 3;

Returns
TypeDescription
FormatMessageOrBuilder

getIsError()

public boolean getIsError()

Distinguishes errors from informational messages.

bool is_error = 1;

Returns
TypeDescription
boolean

The isError.

getParserForType()

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

getRefersTo()

public StatusMessage.Reference getRefersTo()

Reference to which the message applies.

.google.devtools.clouddebugger.v2.StatusMessage.Reference refers_to = 2;

Returns
TypeDescription
StatusMessage.Reference

The refersTo.

getRefersToValue()

public int getRefersToValue()

Reference to which the message applies.

.google.devtools.clouddebugger.v2.StatusMessage.Reference refers_to = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for refersTo.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasDescription()

public boolean hasDescription()

Status message text.

.google.devtools.clouddebugger.v2.FormatMessage description = 3;

Returns
TypeDescription
boolean

Whether the description 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 StatusMessage.Builder newBuilderForType()
Returns
TypeDescription
StatusMessage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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