- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Diagnostic.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Diagnostic.Builder |
build()
public Diagnostic build()
Returns | |
---|---|
Type | Description |
Diagnostic |
buildPartial()
public Diagnostic buildPartial()
Returns | |
---|---|
Type | Description |
Diagnostic |
clear()
public Diagnostic.Builder clear()
Returns | |
---|---|
Type | Description |
Diagnostic.Builder |
clearField(Descriptors.FieldDescriptor field)
public Diagnostic.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Diagnostic.Builder |
clearKind()
public Diagnostic.Builder clearKind()
The kind of diagnostic information provided.
.google.api.servicemanagement.v1.Diagnostic.Kind kind = 2;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Diagnostic.Builder |
This builder for chaining. |
clearMessage()
public Diagnostic.Builder clearMessage()
Message describing the error or warning.
string message = 3;
Returns | |
---|---|
Type | Description |
Diagnostic.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Diagnostic.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Diagnostic.Builder |
clone()
public Diagnostic.Builder clone()
Returns | |
---|---|
Type | Description |
Diagnostic.Builder |
getDefaultInstanceForType()
public Diagnostic getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Diagnostic |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getKind()
public Diagnostic.Kind getKind()
The kind of diagnostic information provided.
.google.api.servicemanagement.v1.Diagnostic.Kind kind = 2;
Returns | |
---|---|
Type | Description |
Diagnostic.Kind |
The kind. |
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 | |
---|---|
Type | Description |
ByteString |
The bytes for location. |
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 | |
---|---|
Type | Description |
ByteString |
The bytes for message. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Diagnostic other)
public Diagnostic.Builder mergeFrom(Diagnostic other)
Parameter | |
---|---|
Name | Description |
other |
Diagnostic |
Returns | |
---|---|
Type | Description |
Diagnostic.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Diagnostic.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Diagnostic.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Diagnostic.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Diagnostic.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Diagnostic.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Diagnostic.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Diagnostic.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Diagnostic.Kind The kind to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for kind to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The location to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for location to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The message to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for message to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Diagnostic.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Diagnostic.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Diagnostic.Builder |