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
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:
- 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.
- 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.
- 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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReportResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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:
- 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.
- 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.
- 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
Returns
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:
- 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.
- 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.
- 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
Returns
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:
- 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.
- 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.
- 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
Returns
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:
- 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.
- 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.
- 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
Returns
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:
- 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.
- 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.
- 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
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:
- 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.
- 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.
- 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
Returns
build()
public ReportResponse build()
Returns
buildPartial()
public ReportResponse buildPartial()
Returns
clear()
public ReportResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ReportResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReportResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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:
- 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.
- 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.
- 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
clearServiceConfigId()
public ReportResponse.Builder clearServiceConfigId()
The actual config id used to process the request.
string service_config_id = 2;
Returns
clearServiceRolloutId()
public ReportResponse.Builder clearServiceRolloutId()
The current service rollout id used to process the request.
string service_rollout_id = 4;
Returns
clone()
public ReportResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ReportResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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:
- 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.
- 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.
- 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
Returns
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:
- 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.
- 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.
- 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
Returns
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:
- 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.
- 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.
- 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
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:
- 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.
- 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.
- 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
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:
- 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.
- 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.
- 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
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:
- 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.
- 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.
- 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
Returns
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:
- 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.
- 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.
- 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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ReportResponse other)
public ReportResponse.Builder mergeFrom(ReportResponse other)
Parameter
Returns
public ReportResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ReportResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReportResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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:
- 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.
- 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.
- 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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ReportResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReportResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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:
- 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.
- 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.
- 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
Returns
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:
- 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.
- 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.
- 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
Returns
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
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
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
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
setUnknownFields(UnknownFieldSet unknownFields)
public final ReportResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides