Class ReportResponse.ReportError.Builder (1.12.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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 Overrides

build()

public ReportResponse.ReportError build()
Returns

buildPartial()

public ReportResponse.ReportError buildPartial()
Returns

clear()

public ReportResponse.ReportError.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportResponse.ReportError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns 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

clone()

public ReportResponse.ReportError.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public ReportResponse.ReportError getDefaultInstanceForType()
Returns

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ReportResponse.ReportError.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns 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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ReportResponse.ReportError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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 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

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

setUnknownFields(UnknownFieldSet unknownFields)

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