Class ReportResponse.ReportError.Builder (1.21.0)

public static final class ReportResponse.ReportError.Builder extends GeneratedMessageV3.Builder<ReportResponse.ReportError.Builder> implements ReportResponse.ReportErrorOrBuilder

Represents the processing error of one Operation in the request.

Protobuf type google.api.servicecontrol.v1.ReportResponse.ReportError

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportResponse.ReportError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReportResponse.ReportError.Builder
Overrides

build()

public ReportResponse.ReportError build()
Returns
TypeDescription
ReportResponse.ReportError

buildPartial()

public ReportResponse.ReportError buildPartial()
Returns
TypeDescription
ReportResponse.ReportError

clear()

public ReportResponse.ReportError.Builder clear()
Returns
TypeDescription
ReportResponse.ReportError.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ReportResponse.ReportError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReportResponse.ReportError.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportResponse.ReportError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReportResponse.ReportError.Builder
Overrides

clearOperationId()

public ReportResponse.ReportError.Builder clearOperationId()

The Operation.operation_id value from the request.

string operation_id = 1;

Returns
TypeDescription
ReportResponse.ReportError.Builder

This builder for chaining.

clearStatus()

public ReportResponse.ReportError.Builder clearStatus()

Details of the error when processing the Operation.

.google.rpc.Status status = 2;

Returns
TypeDescription
ReportResponse.ReportError.Builder

clone()

public ReportResponse.ReportError.Builder clone()
Returns
TypeDescription
ReportResponse.ReportError.Builder
Overrides

getDefaultInstanceForType()

public ReportResponse.ReportError getDefaultInstanceForType()
Returns
TypeDescription
ReportResponse.ReportError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOperationId()

public String getOperationId()

The Operation.operation_id value from the request.

string operation_id = 1;

Returns
TypeDescription
String

The operationId.

getOperationIdBytes()

public ByteString getOperationIdBytes()

The Operation.operation_id value from the request.

string operation_id = 1;

Returns
TypeDescription
ByteString

The bytes for operationId.

getStatus()

public Status getStatus()

Details of the error when processing the Operation.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

Details of the error when processing the Operation.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

Details of the error when processing the Operation.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

hasStatus()

public boolean hasStatus()

Details of the error when processing the Operation.

.google.rpc.Status status = 2;

Returns
TypeDescription
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReportResponse.ReportError other)

public ReportResponse.ReportError.Builder mergeFrom(ReportResponse.ReportError other)
Parameter
NameDescription
otherReportResponse.ReportError
Returns
TypeDescription
ReportResponse.ReportError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReportResponse.ReportError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportResponse.ReportError.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReportResponse.ReportError.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReportResponse.ReportError.Builder
Overrides

mergeStatus(Status value)

public ReportResponse.ReportError.Builder mergeStatus(Status value)

Details of the error when processing the Operation.

.google.rpc.Status status = 2;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
ReportResponse.ReportError.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportResponse.ReportError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReportResponse.ReportError.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ReportResponse.ReportError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReportResponse.ReportError.Builder
Overrides

setOperationId(String value)

public ReportResponse.ReportError.Builder setOperationId(String value)

The Operation.operation_id value from the request.

string operation_id = 1;

Parameter
NameDescription
valueString

The operationId to set.

Returns
TypeDescription
ReportResponse.ReportError.Builder

This builder for chaining.

setOperationIdBytes(ByteString value)

public ReportResponse.ReportError.Builder setOperationIdBytes(ByteString value)

The Operation.operation_id value from the request.

string operation_id = 1;

Parameter
NameDescription
valueByteString

The bytes for operationId to set.

Returns
TypeDescription
ReportResponse.ReportError.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReportResponse.ReportError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReportResponse.ReportError.Builder
Overrides

setStatus(Status value)

public ReportResponse.ReportError.Builder setStatus(Status value)

Details of the error when processing the Operation.

.google.rpc.Status status = 2;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
ReportResponse.ReportError.Builder

setStatus(Status.Builder builderForValue)

public ReportResponse.ReportError.Builder setStatus(Status.Builder builderForValue)

Details of the error when processing the Operation.

.google.rpc.Status status = 2;

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ReportResponse.ReportError.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportResponse.ReportError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReportResponse.ReportError.Builder
Overrides