Class ReportResponse.Builder (1.36.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.api.servicecontrol.v1.ReportResponse.ReportError>
Returns
TypeDescription
ReportResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReportResponse build()
Returns
TypeDescription
ReportResponse

buildPartial()

public ReportResponse buildPartial()
Returns
TypeDescription
ReportResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceConfigId()

public ReportResponse.Builder clearServiceConfigId()

The actual config id used to process the request.

string service_config_id = 2;

Returns
TypeDescription
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
TypeDescription
ReportResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ReportResponse getDefaultInstanceForType()
Returns
TypeDescription
ReportResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
String

The serviceConfigId.

getServiceConfigIdBytes()

public ByteString getServiceConfigIdBytes()

The actual config id used to process the request.

string service_config_id = 2;

Returns
TypeDescription
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
TypeDescription
String

The serviceRolloutId.

getServiceRolloutIdBytes()

public ByteString getServiceRolloutIdBytes()

The current service rollout id used to process the request.

string service_rollout_id = 4;

Returns
TypeDescription
ByteString

The bytes for serviceRolloutId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReportResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ReportResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ReportResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueReportResponse.ReportError
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReportResponse.ReportError.Builder
Returns
TypeDescription
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
NameDescription
valueString

The serviceConfigId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for serviceConfigId to set.

Returns
TypeDescription
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
NameDescription
valueString

The serviceRolloutId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for serviceRolloutId to set.

Returns
TypeDescription
ReportResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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