- 3.53.0 (latest)
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.7
- 3.0.1
- 2.1.7
public static final class Diagnostic.Builder extends GeneratedMessageV3.Builder<Diagnostic.Builder> implements DiagnosticOrBuilder
Represents a diagnostic message (error or warning)
Protobuf type google.api.servicemanagement.v1.Diagnostic
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Diagnostic.BuilderImplements
DiagnosticOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Diagnostic.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Diagnostic.Builder |
build()
public Diagnostic build()
Type | Description |
Diagnostic |
buildPartial()
public Diagnostic buildPartial()
Type | Description |
Diagnostic |
clear()
public Diagnostic.Builder clear()
Type | Description |
Diagnostic.Builder |
clearField(Descriptors.FieldDescriptor field)
public Diagnostic.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Diagnostic.Builder |
clearKind()
public Diagnostic.Builder clearKind()
The kind of diagnostic information provided.
.google.api.servicemanagement.v1.Diagnostic.Kind kind = 2;
Type | Description |
Diagnostic.Builder | This builder for chaining. |
clearLocation()
public Diagnostic.Builder clearLocation()
File name and line number of the error or warning.
string location = 1;
Type | Description |
Diagnostic.Builder | This builder for chaining. |
clearMessage()
public Diagnostic.Builder clearMessage()
Message describing the error or warning.
string message = 3;
Type | Description |
Diagnostic.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Diagnostic.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Diagnostic.Builder |
clone()
public Diagnostic.Builder clone()
Type | Description |
Diagnostic.Builder |
getDefaultInstanceForType()
public Diagnostic getDefaultInstanceForType()
Type | Description |
Diagnostic |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getKind()
public Diagnostic.Kind getKind()
The kind of diagnostic information provided.
.google.api.servicemanagement.v1.Diagnostic.Kind kind = 2;
Type | Description |
Diagnostic.Kind | The kind. |
getKindValue()
public int getKindValue()
The kind of diagnostic information provided.
.google.api.servicemanagement.v1.Diagnostic.Kind kind = 2;
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;
Type | Description |
String | The location. |
getLocationBytes()
public ByteString getLocationBytes()
File name and line number of the error or warning.
string location = 1;
Type | Description |
ByteString | The bytes for location. |
getMessage()
public String getMessage()
Message describing the error or warning.
string message = 3;
Type | Description |
String | The message. |
getMessageBytes()
public ByteString getMessageBytes()
Message describing the error or warning.
string message = 3;
Type | Description |
ByteString | The bytes for message. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Diagnostic other)
public Diagnostic.Builder mergeFrom(Diagnostic other)
Name | Description |
other | Diagnostic |
Type | Description |
Diagnostic.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Diagnostic.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Diagnostic.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Diagnostic.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Diagnostic.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Diagnostic.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Diagnostic.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Diagnostic.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Diagnostic.Builder |
setKind(Diagnostic.Kind value)
public Diagnostic.Builder setKind(Diagnostic.Kind value)
The kind of diagnostic information provided.
.google.api.servicemanagement.v1.Diagnostic.Kind kind = 2;
Name | Description |
value | Diagnostic.Kind The kind to set. |
Type | Description |
Diagnostic.Builder | This builder for chaining. |
setKindValue(int value)
public Diagnostic.Builder setKindValue(int value)
The kind of diagnostic information provided.
.google.api.servicemanagement.v1.Diagnostic.Kind kind = 2;
Name | Description |
value | int The enum numeric value on the wire for kind to set. |
Type | Description |
Diagnostic.Builder | This builder for chaining. |
setLocation(String value)
public Diagnostic.Builder setLocation(String value)
File name and line number of the error or warning.
string location = 1;
Name | Description |
value | String The location to set. |
Type | Description |
Diagnostic.Builder | This builder for chaining. |
setLocationBytes(ByteString value)
public Diagnostic.Builder setLocationBytes(ByteString value)
File name and line number of the error or warning.
string location = 1;
Name | Description |
value | ByteString The bytes for location to set. |
Type | Description |
Diagnostic.Builder | This builder for chaining. |
setMessage(String value)
public Diagnostic.Builder setMessage(String value)
Message describing the error or warning.
string message = 3;
Name | Description |
value | String The message to set. |
Type | Description |
Diagnostic.Builder | This builder for chaining. |
setMessageBytes(ByteString value)
public Diagnostic.Builder setMessageBytes(ByteString value)
Message describing the error or warning.
string message = 3;
Name | Description |
value | ByteString The bytes for message to set. |
Type | Description |
Diagnostic.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Diagnostic.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Diagnostic.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Diagnostic.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Diagnostic.Builder |