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
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
public static final int IS_ERROR_FIELD_NUMBER
Field Value
public static final int REFERS_TO_FIELD_NUMBER
Field Value
Static Methods
public static StatusMessage getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static StatusMessage.Builder newBuilder()
Returns
public static StatusMessage.Builder newBuilder(StatusMessage prototype)
Parameter
Returns
public static StatusMessage parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StatusMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StatusMessage parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static StatusMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StatusMessage parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static StatusMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StatusMessage parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StatusMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StatusMessage parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StatusMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StatusMessage parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static StatusMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<StatusMessage> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public StatusMessage getDefaultInstanceForType()
Returns
public FormatMessage getDescription()
Status message text.
.google.devtools.clouddebugger.v2.FormatMessage description = 3;
Returns
public FormatMessageOrBuilder getDescriptionOrBuilder()
Status message text.
.google.devtools.clouddebugger.v2.FormatMessage description = 3;
Returns
public boolean getIsError()
Distinguishes errors from informational messages.
bool is_error = 1;
Returns
public Parser<StatusMessage> getParserForType()
Returns
Overrides
public StatusMessage.Reference getRefersTo()
Reference to which the message applies.
.google.devtools.clouddebugger.v2.StatusMessage.Reference refers_to = 2;
Returns
public int getRefersToValue()
Reference to which the message applies.
.google.devtools.clouddebugger.v2.StatusMessage.Reference refers_to = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for refersTo.
|
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasDescription()
Status message text.
.google.devtools.clouddebugger.v2.FormatMessage description = 3;
Returns
Type | Description |
boolean | Whether the description field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public StatusMessage.Builder newBuilderForType()
Returns
protected StatusMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public StatusMessage.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions