public static final class OperationErrors.Builder extends GeneratedMessage.Builder<OperationErrors.Builder> implements OperationErrorsOrBuilderDatabase instance operation errors list wrapper.
Protobuf type google.cloud.sql.v1.OperationErrors
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OperationErrors.BuilderImplements
OperationErrorsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllErrors(Iterable<? extends OperationError> values)
public OperationErrors.Builder addAllErrors(Iterable<? extends OperationError> values)The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.sql.v1.OperationError> |
| Returns | |
|---|---|
| Type | Description |
OperationErrors.Builder |
|
addErrors(OperationError value)
public OperationErrors.Builder addErrors(OperationError value)The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
OperationError |
| Returns | |
|---|---|
| Type | Description |
OperationErrors.Builder |
|
addErrors(OperationError.Builder builderForValue)
public OperationErrors.Builder addErrors(OperationError.Builder builderForValue)The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
OperationError.Builder |
| Returns | |
|---|---|
| Type | Description |
OperationErrors.Builder |
|
addErrors(int index, OperationError value)
public OperationErrors.Builder addErrors(int index, OperationError value)The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
OperationError |
| Returns | |
|---|---|
| Type | Description |
OperationErrors.Builder |
|
addErrors(int index, OperationError.Builder builderForValue)
public OperationErrors.Builder addErrors(int index, OperationError.Builder builderForValue)The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
OperationError.Builder |
| Returns | |
|---|---|
| Type | Description |
OperationErrors.Builder |
|
addErrorsBuilder()
public OperationError.Builder addErrorsBuilder()The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Returns | |
|---|---|
| Type | Description |
OperationError.Builder |
|
addErrorsBuilder(int index)
public OperationError.Builder addErrorsBuilder(int index)The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
OperationError.Builder |
|
build()
public OperationErrors build()| Returns | |
|---|---|
| Type | Description |
OperationErrors |
|
buildPartial()
public OperationErrors buildPartial()| Returns | |
|---|---|
| Type | Description |
OperationErrors |
|
clear()
public OperationErrors.Builder clear()| Returns | |
|---|---|
| Type | Description |
OperationErrors.Builder |
|
clearErrors()
public OperationErrors.Builder clearErrors()The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Returns | |
|---|---|
| Type | Description |
OperationErrors.Builder |
|
clearKind()
public OperationErrors.Builder clearKind() This is always sql#operationErrors.
string kind = 1;
| Returns | |
|---|---|
| Type | Description |
OperationErrors.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public OperationErrors getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OperationErrors |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getErrors(int index)
public OperationError getErrors(int index)The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
OperationError |
|
getErrorsBuilder(int index)
public OperationError.Builder getErrorsBuilder(int index)The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
OperationError.Builder |
|
getErrorsBuilderList()
public List<OperationError.Builder> getErrorsBuilderList()The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getErrorsCount()
public int getErrorsCount()The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getErrorsList()
public List<OperationError> getErrorsList()The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Returns | |
|---|---|
| Type | Description |
List<OperationError> |
|
getErrorsOrBuilder(int index)
public OperationErrorOrBuilder getErrorsOrBuilder(int index)The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
OperationErrorOrBuilder |
|
getErrorsOrBuilderList()
public List<? extends OperationErrorOrBuilder> getErrorsOrBuilderList()The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.sql.v1.OperationErrorOrBuilder> |
|
getKind()
public String getKind() This is always sql#operationErrors.
string kind = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public ByteString getKindBytes() This is always sql#operationErrors.
string kind = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(OperationErrors other)
public OperationErrors.Builder mergeFrom(OperationErrors other)| Parameter | |
|---|---|
| Name | Description |
other |
OperationErrors |
| Returns | |
|---|---|
| Type | Description |
OperationErrors.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OperationErrors.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OperationErrors.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public OperationErrors.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OperationErrors.Builder |
|
removeErrors(int index)
public OperationErrors.Builder removeErrors(int index)The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
OperationErrors.Builder |
|
setErrors(int index, OperationError value)
public OperationErrors.Builder setErrors(int index, OperationError value)The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
OperationError |
| Returns | |
|---|---|
| Type | Description |
OperationErrors.Builder |
|
setErrors(int index, OperationError.Builder builderForValue)
public OperationErrors.Builder setErrors(int index, OperationError.Builder builderForValue)The list of errors encountered while processing this operation.
repeated .google.cloud.sql.v1.OperationError errors = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
OperationError.Builder |
| Returns | |
|---|---|
| Type | Description |
OperationErrors.Builder |
|
setKind(String value)
public OperationErrors.Builder setKind(String value) This is always sql#operationErrors.
string kind = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kind to set. |
| Returns | |
|---|---|
| Type | Description |
OperationErrors.Builder |
This builder for chaining. |
setKindBytes(ByteString value)
public OperationErrors.Builder setKindBytes(ByteString value) This is always sql#operationErrors.
string kind = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kind to set. |
| Returns | |
|---|---|
| Type | Description |
OperationErrors.Builder |
This builder for chaining. |