public final class Diagnostic extends GeneratedMessageV3 implements DiagnosticOrBuilder
Represents a diagnostic message (error or warning)
Protobuf type google.api.servicemanagement.v1.Diagnostic
Static Fields
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
Field Value
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Diagnostic getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Diagnostic.Builder newBuilder()
Returns
newBuilder(Diagnostic prototype)
public static Diagnostic.Builder newBuilder(Diagnostic prototype)
Parameter
Returns
public static Diagnostic parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Diagnostic parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Diagnostic parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Diagnostic parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Diagnostic parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Diagnostic parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Diagnostic parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Diagnostic parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Diagnostic parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Diagnostic parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Diagnostic parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Diagnostic parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Diagnostic> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Diagnostic getDefaultInstanceForType()
Returns
getKind()
public Diagnostic.Kind getKind()
The kind of diagnostic information provided.
.google.api.servicemanagement.v1.Diagnostic.Kind kind = 2;
Returns
getKindValue()
public int getKindValue()
The kind of diagnostic information provided.
.google.api.servicemanagement.v1.Diagnostic.Kind kind = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for kind.
|
getLocation()
public String getLocation()
File name and line number of the error or warning.
string location = 1;
Returns
Type | Description |
String | The location.
|
getLocationBytes()
public ByteString getLocationBytes()
File name and line number of the error or warning.
string location = 1;
Returns
getMessage()
public String getMessage()
Message describing the error or warning.
string message = 3;
Returns
Type | Description |
String | The message.
|
getMessageBytes()
public ByteString getMessageBytes()
Message describing the error or warning.
string message = 3;
Returns
getParserForType()
public Parser<Diagnostic> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Diagnostic.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Diagnostic.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Diagnostic.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions