public static final class OperationError.Builder extends GeneratedMessage.Builder<OperationError.Builder> implements OperationErrorOrBuilderDatabase instance operation error.
Protobuf type google.cloud.sql.v1beta4.OperationError
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OperationError.BuilderImplements
OperationErrorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public OperationError build()| Returns | |
|---|---|
| Type | Description |
OperationError |
|
buildPartial()
public OperationError buildPartial()| Returns | |
|---|---|
| Type | Description |
OperationError |
|
clear()
public OperationError.Builder clear()| Returns | |
|---|---|
| Type | Description |
OperationError.Builder |
|
clearCode()
public OperationError.Builder clearCode()Identifies the specific error that occurred.
string code = 2;
| Returns | |
|---|---|
| Type | Description |
OperationError.Builder |
This builder for chaining. |
clearKind()
public OperationError.Builder clearKind() This is always sql#operationError.
string kind = 1;
| Returns | |
|---|---|
| Type | Description |
OperationError.Builder |
This builder for chaining. |
clearMessage()
public OperationError.Builder clearMessage()Additional information about the error encountered.
string message = 3;
| Returns | |
|---|---|
| Type | Description |
OperationError.Builder |
This builder for chaining. |
getCode()
public String getCode()Identifies the specific error that occurred.
string code = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The code. |
getCodeBytes()
public ByteString getCodeBytes()Identifies the specific error that occurred.
string code = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for code. |
getDefaultInstanceForType()
public OperationError getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OperationError |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKind()
public String getKind() This is always sql#operationError.
string kind = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public ByteString getKindBytes() This is always sql#operationError.
string kind = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
getMessage()
public String getMessage()Additional information about the error encountered.
string message = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The message. |
getMessageBytes()
public ByteString getMessageBytes()Additional information about the error encountered.
string message = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for message. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(OperationError other)
public OperationError.Builder mergeFrom(OperationError other)| Parameter | |
|---|---|
| Name | Description |
other |
OperationError |
| Returns | |
|---|---|
| Type | Description |
OperationError.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OperationError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OperationError.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public OperationError.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OperationError.Builder |
|
setCode(String value)
public OperationError.Builder setCode(String value)Identifies the specific error that occurred.
string code = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe code to set. |
| Returns | |
|---|---|
| Type | Description |
OperationError.Builder |
This builder for chaining. |
setCodeBytes(ByteString value)
public OperationError.Builder setCodeBytes(ByteString value)Identifies the specific error that occurred.
string code = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for code to set. |
| Returns | |
|---|---|
| Type | Description |
OperationError.Builder |
This builder for chaining. |
setKind(String value)
public OperationError.Builder setKind(String value) This is always sql#operationError.
string kind = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kind to set. |
| Returns | |
|---|---|
| Type | Description |
OperationError.Builder |
This builder for chaining. |
setKindBytes(ByteString value)
public OperationError.Builder setKindBytes(ByteString value) This is always sql#operationError.
string kind = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kind to set. |
| Returns | |
|---|---|
| Type | Description |
OperationError.Builder |
This builder for chaining. |
setMessage(String value)
public OperationError.Builder setMessage(String value)Additional information about the error encountered.
string message = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe message to set. |
| Returns | |
|---|---|
| Type | Description |
OperationError.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
public OperationError.Builder setMessageBytes(ByteString value)Additional information about the error encountered.
string message = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
OperationError.Builder |
This builder for chaining. |