Class ReportResponse.Builder (1.43.0)

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

Response message for the Report method.

Protobuf type google.api.servicecontrol.v1.ReportResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllReportErrors(Iterable<? extends ReportResponse.ReportError> values)

public ReportResponse.Builder addAllReportErrors(Iterable<? extends ReportResponse.ReportError> values)

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Parameter
Name Description
values Iterable<? extends com.google.api.servicecontrol.v1.ReportResponse.ReportError>
Returns
Type Description
ReportResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportResponse.Builder
Overrides

addReportErrors(ReportResponse.ReportError value)

public ReportResponse.Builder addReportErrors(ReportResponse.ReportError value)

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Parameter
Name Description
value ReportResponse.ReportError
Returns
Type Description
ReportResponse.Builder

addReportErrors(ReportResponse.ReportError.Builder builderForValue)

public ReportResponse.Builder addReportErrors(ReportResponse.ReportError.Builder builderForValue)

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Parameter
Name Description
builderForValue ReportResponse.ReportError.Builder
Returns
Type Description
ReportResponse.Builder

addReportErrors(int index, ReportResponse.ReportError value)

public ReportResponse.Builder addReportErrors(int index, ReportResponse.ReportError value)

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Parameters
Name Description
index int
value ReportResponse.ReportError
Returns
Type Description
ReportResponse.Builder

addReportErrors(int index, ReportResponse.ReportError.Builder builderForValue)

public ReportResponse.Builder addReportErrors(int index, ReportResponse.ReportError.Builder builderForValue)

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Parameters
Name Description
index int
builderForValue ReportResponse.ReportError.Builder
Returns
Type Description
ReportResponse.Builder

addReportErrorsBuilder()

public ReportResponse.ReportError.Builder addReportErrorsBuilder()

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Returns
Type Description
ReportResponse.ReportError.Builder

addReportErrorsBuilder(int index)

public ReportResponse.ReportError.Builder addReportErrorsBuilder(int index)

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportResponse.ReportError.Builder

build()

public ReportResponse build()
Returns
Type Description
ReportResponse

buildPartial()

public ReportResponse buildPartial()
Returns
Type Description
ReportResponse

clear()

public ReportResponse.Builder clear()
Returns
Type Description
ReportResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ReportResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReportResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReportResponse.Builder
Overrides

clearReportErrors()

public ReportResponse.Builder clearReportErrors()

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Returns
Type Description
ReportResponse.Builder

clearServiceConfigId()

public ReportResponse.Builder clearServiceConfigId()

The actual config id used to process the request.

string service_config_id = 2;

Returns
Type Description
ReportResponse.Builder

This builder for chaining.

clearServiceRolloutId()

public ReportResponse.Builder clearServiceRolloutId()

The current service rollout id used to process the request.

string service_rollout_id = 4;

Returns
Type Description
ReportResponse.Builder

This builder for chaining.

clone()

public ReportResponse.Builder clone()
Returns
Type Description
ReportResponse.Builder
Overrides

getDefaultInstanceForType()

public ReportResponse getDefaultInstanceForType()
Returns
Type Description
ReportResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getReportErrors(int index)

public ReportResponse.ReportError getReportErrors(int index)

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportResponse.ReportError

getReportErrorsBuilder(int index)

public ReportResponse.ReportError.Builder getReportErrorsBuilder(int index)

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportResponse.ReportError.Builder

getReportErrorsBuilderList()

public List<ReportResponse.ReportError.Builder> getReportErrorsBuilderList()

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Returns
Type Description
List<Builder>

getReportErrorsCount()

public int getReportErrorsCount()

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Returns
Type Description
int

getReportErrorsList()

public List<ReportResponse.ReportError> getReportErrorsList()

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Returns
Type Description
List<ReportError>

getReportErrorsOrBuilder(int index)

public ReportResponse.ReportErrorOrBuilder getReportErrorsOrBuilder(int index)

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportResponse.ReportErrorOrBuilder

getReportErrorsOrBuilderList()

public List<? extends ReportResponse.ReportErrorOrBuilder> getReportErrorsOrBuilderList()

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Returns
Type Description
List<? extends com.google.api.servicecontrol.v1.ReportResponse.ReportErrorOrBuilder>

getServiceConfigId()

public String getServiceConfigId()

The actual config id used to process the request.

string service_config_id = 2;

Returns
Type Description
String

The serviceConfigId.

getServiceConfigIdBytes()

public ByteString getServiceConfigIdBytes()

The actual config id used to process the request.

string service_config_id = 2;

Returns
Type Description
ByteString

The bytes for serviceConfigId.

getServiceRolloutId()

public String getServiceRolloutId()

The current service rollout id used to process the request.

string service_rollout_id = 4;

Returns
Type Description
String

The serviceRolloutId.

getServiceRolloutIdBytes()

public ByteString getServiceRolloutIdBytes()

The current service rollout id used to process the request.

string service_rollout_id = 4;

Returns
Type Description
ByteString

The bytes for serviceRolloutId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReportResponse other)

public ReportResponse.Builder mergeFrom(ReportResponse other)
Parameter
Name Description
other ReportResponse
Returns
Type Description
ReportResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReportResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReportResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReportResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportResponse.Builder
Overrides

removeReportErrors(int index)

public ReportResponse.Builder removeReportErrors(int index)

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReportResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportResponse.Builder
Overrides

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

public ReportResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReportResponse.Builder
Overrides

setReportErrors(int index, ReportResponse.ReportError value)

public ReportResponse.Builder setReportErrors(int index, ReportResponse.ReportError value)

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Parameters
Name Description
index int
value ReportResponse.ReportError
Returns
Type Description
ReportResponse.Builder

setReportErrors(int index, ReportResponse.ReportError.Builder builderForValue)

public ReportResponse.Builder setReportErrors(int index, ReportResponse.ReportError.Builder builderForValue)

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.
  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.
  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;

Parameters
Name Description
index int
builderForValue ReportResponse.ReportError.Builder
Returns
Type Description
ReportResponse.Builder

setServiceConfigId(String value)

public ReportResponse.Builder setServiceConfigId(String value)

The actual config id used to process the request.

string service_config_id = 2;

Parameter
Name Description
value String

The serviceConfigId to set.

Returns
Type Description
ReportResponse.Builder

This builder for chaining.

setServiceConfigIdBytes(ByteString value)

public ReportResponse.Builder setServiceConfigIdBytes(ByteString value)

The actual config id used to process the request.

string service_config_id = 2;

Parameter
Name Description
value ByteString

The bytes for serviceConfigId to set.

Returns
Type Description
ReportResponse.Builder

This builder for chaining.

setServiceRolloutId(String value)

public ReportResponse.Builder setServiceRolloutId(String value)

The current service rollout id used to process the request.

string service_rollout_id = 4;

Parameter
Name Description
value String

The serviceRolloutId to set.

Returns
Type Description
ReportResponse.Builder

This builder for chaining.

setServiceRolloutIdBytes(ByteString value)

public ReportResponse.Builder setServiceRolloutIdBytes(ByteString value)

The current service rollout id used to process the request.

string service_rollout_id = 4;

Parameter
Name Description
value ByteString

The bytes for serviceRolloutId to set.

Returns
Type Description
ReportResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportResponse.Builder
Overrides