- 1.52.0 (latest)
- 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.1.10
public static final class StatusMessage.Builder extends GeneratedMessageV3.Builder<StatusMessage.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StatusMessage.BuilderImplements
StatusMessageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StatusMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StatusMessage.Builder |
build()
public StatusMessage build()
Type | Description |
StatusMessage |
buildPartial()
public StatusMessage buildPartial()
Type | Description |
StatusMessage |
clear()
public StatusMessage.Builder clear()
Type | Description |
StatusMessage.Builder |
clearDescription()
public StatusMessage.Builder clearDescription()
Status message text.
.google.devtools.clouddebugger.v2.FormatMessage description = 3;
Type | Description |
StatusMessage.Builder |
clearField(Descriptors.FieldDescriptor field)
public StatusMessage.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
StatusMessage.Builder |
clearIsError()
public StatusMessage.Builder clearIsError()
Distinguishes errors from informational messages.
bool is_error = 1;
Type | Description |
StatusMessage.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public StatusMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
StatusMessage.Builder |
clearRefersTo()
public StatusMessage.Builder clearRefersTo()
Reference to which the message applies.
.google.devtools.clouddebugger.v2.StatusMessage.Reference refers_to = 2;
Type | Description |
StatusMessage.Builder | This builder for chaining. |
clone()
public StatusMessage.Builder clone()
Type | Description |
StatusMessage.Builder |
getDefaultInstanceForType()
public StatusMessage getDefaultInstanceForType()
Type | Description |
StatusMessage |
getDescription()
public FormatMessage getDescription()
Status message text.
.google.devtools.clouddebugger.v2.FormatMessage description = 3;
Type | Description |
FormatMessage | The description. |
getDescriptionBuilder()
public FormatMessage.Builder getDescriptionBuilder()
Status message text.
.google.devtools.clouddebugger.v2.FormatMessage description = 3;
Type | Description |
FormatMessage.Builder |
getDescriptionOrBuilder()
public FormatMessageOrBuilder getDescriptionOrBuilder()
Status message text.
.google.devtools.clouddebugger.v2.FormatMessage description = 3;
Type | Description |
FormatMessageOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getIsError()
public boolean getIsError()
Distinguishes errors from informational messages.
bool is_error = 1;
Type | Description |
boolean | The isError. |
getRefersTo()
public StatusMessage.Reference getRefersTo()
Reference to which the message applies.
.google.devtools.clouddebugger.v2.StatusMessage.Reference refers_to = 2;
Type | Description |
StatusMessage.Reference | The refersTo. |
getRefersToValue()
public int getRefersToValue()
Reference to which the message applies.
.google.devtools.clouddebugger.v2.StatusMessage.Reference refers_to = 2;
Type | Description |
int | The enum numeric value on the wire for refersTo. |
hasDescription()
public boolean hasDescription()
Status message text.
.google.devtools.clouddebugger.v2.FormatMessage description = 3;
Type | Description |
boolean | Whether the description field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeDescription(FormatMessage value)
public StatusMessage.Builder mergeDescription(FormatMessage value)
Status message text.
.google.devtools.clouddebugger.v2.FormatMessage description = 3;
Name | Description |
value | FormatMessage |
Type | Description |
StatusMessage.Builder |
mergeFrom(StatusMessage other)
public StatusMessage.Builder mergeFrom(StatusMessage other)
Name | Description |
other | StatusMessage |
Type | Description |
StatusMessage.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StatusMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StatusMessage.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public StatusMessage.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
StatusMessage.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StatusMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StatusMessage.Builder |
setDescription(FormatMessage value)
public StatusMessage.Builder setDescription(FormatMessage value)
Status message text.
.google.devtools.clouddebugger.v2.FormatMessage description = 3;
Name | Description |
value | FormatMessage |
Type | Description |
StatusMessage.Builder |
setDescription(FormatMessage.Builder builderForValue)
public StatusMessage.Builder setDescription(FormatMessage.Builder builderForValue)
Status message text.
.google.devtools.clouddebugger.v2.FormatMessage description = 3;
Name | Description |
builderForValue | FormatMessage.Builder |
Type | Description |
StatusMessage.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StatusMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StatusMessage.Builder |
setIsError(boolean value)
public StatusMessage.Builder setIsError(boolean value)
Distinguishes errors from informational messages.
bool is_error = 1;
Name | Description |
value | boolean The isError to set. |
Type | Description |
StatusMessage.Builder | This builder for chaining. |
setRefersTo(StatusMessage.Reference value)
public StatusMessage.Builder setRefersTo(StatusMessage.Reference value)
Reference to which the message applies.
.google.devtools.clouddebugger.v2.StatusMessage.Reference refers_to = 2;
Name | Description |
value | StatusMessage.Reference The refersTo to set. |
Type | Description |
StatusMessage.Builder | This builder for chaining. |
setRefersToValue(int value)
public StatusMessage.Builder setRefersToValue(int value)
Reference to which the message applies.
.google.devtools.clouddebugger.v2.StatusMessage.Reference refers_to = 2;
Name | Description |
value | int The enum numeric value on the wire for refersTo to set. |
Type | Description |
StatusMessage.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StatusMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
StatusMessage.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StatusMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StatusMessage.Builder |