Package com.google.api.servicecontrol.v1
Class ReportResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReportResponse.Builder>
com.google.api.servicecontrol.v1.ReportResponse.Builder
- All Implemented Interfaces:
ReportResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReportResponse
public static final class ReportResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReportResponse.Builder>
implements ReportResponseOrBuilder
Response message for the Report method.Protobuf type
google.api.servicecontrol.v1.ReportResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllReportErrors(Iterable<? extends ReportResponse.ReportError> values) Partial failures, one for each `Operation` in the request that failed processing.addReportErrors(int index, ReportResponse.ReportError value) Partial failures, one for each `Operation` in the request that failed processing.addReportErrors(int index, ReportResponse.ReportError.Builder builderForValue) Partial failures, one for each `Operation` in the request that failed processing.Partial failures, one for each `Operation` in the request that failed processing.addReportErrors(ReportResponse.ReportError.Builder builderForValue) Partial failures, one for each `Operation` in the request that failed processing.Partial failures, one for each `Operation` in the request that failed processing.addReportErrorsBuilder(int index) Partial failures, one for each `Operation` in the request that failed processing.build()clear()Partial failures, one for each `Operation` in the request that failed processing.The actual config id used to process the request.The current service rollout id used to process the request.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetReportErrors(int index) Partial failures, one for each `Operation` in the request that failed processing.getReportErrorsBuilder(int index) Partial failures, one for each `Operation` in the request that failed processing.Partial failures, one for each `Operation` in the request that failed processing.intPartial failures, one for each `Operation` in the request that failed processing.Partial failures, one for each `Operation` in the request that failed processing.getReportErrorsOrBuilder(int index) Partial failures, one for each `Operation` in the request that failed processing.List<? extends ReportResponse.ReportErrorOrBuilder>Partial failures, one for each `Operation` in the request that failed processing.The actual config id used to process the request.com.google.protobuf.ByteStringThe actual config id used to process the request.The current service rollout id used to process the request.com.google.protobuf.ByteStringThe current service rollout id used to process the request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ReportResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeReportErrors(int index) Partial failures, one for each `Operation` in the request that failed processing.setReportErrors(int index, ReportResponse.ReportError value) Partial failures, one for each `Operation` in the request that failed processing.setReportErrors(int index, ReportResponse.ReportError.Builder builderForValue) Partial failures, one for each `Operation` in the request that failed processing.setServiceConfigId(String value) The actual config id used to process the request.setServiceConfigIdBytes(com.google.protobuf.ByteString value) The actual config id used to process the request.setServiceRolloutId(String value) The current service rollout id used to process the request.setServiceRolloutIdBytes(com.google.protobuf.ByteString value) The current service rollout id used to process the request.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ReportResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ReportResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ReportResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReportResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReportResponse.Builder>
-
mergeFrom
public ReportResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReportResponse.Builder>- Throws:
IOException
-
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;- Specified by:
getReportErrorsListin interfaceReportResponseOrBuilder
-
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;- Specified by:
getReportErrorsCountin interfaceReportResponseOrBuilder
-
getReportErrors
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;- Specified by:
getReportErrorsin interfaceReportResponseOrBuilder
-
setReportErrors
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; -
setReportErrors
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; -
addReportErrors
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; -
addReportErrors
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; -
addReportErrors
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; -
addReportErrors
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; -
addAllReportErrors
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; -
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; -
removeReportErrors
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; -
getReportErrorsBuilder
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; -
getReportErrorsOrBuilder
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;- Specified by:
getReportErrorsOrBuilderin interfaceReportResponseOrBuilder
-
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;- Specified by:
getReportErrorsOrBuilderListin interfaceReportResponseOrBuilder
-
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; -
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; -
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; -
getServiceConfigId
The actual config id used to process the request.
string service_config_id = 2;- Specified by:
getServiceConfigIdin interfaceReportResponseOrBuilder- Returns:
- The serviceConfigId.
-
getServiceConfigIdBytes
public com.google.protobuf.ByteString getServiceConfigIdBytes()The actual config id used to process the request.
string service_config_id = 2;- Specified by:
getServiceConfigIdBytesin interfaceReportResponseOrBuilder- Returns:
- The bytes for serviceConfigId.
-
setServiceConfigId
The actual config id used to process the request.
string service_config_id = 2;- Parameters:
value- The serviceConfigId to set.- Returns:
- This builder for chaining.
-
clearServiceConfigId
The actual config id used to process the request.
string service_config_id = 2;- Returns:
- This builder for chaining.
-
setServiceConfigIdBytes
The actual config id used to process the request.
string service_config_id = 2;- Parameters:
value- The bytes for serviceConfigId to set.- Returns:
- This builder for chaining.
-
getServiceRolloutId
The current service rollout id used to process the request.
string service_rollout_id = 4;- Specified by:
getServiceRolloutIdin interfaceReportResponseOrBuilder- Returns:
- The serviceRolloutId.
-
getServiceRolloutIdBytes
public com.google.protobuf.ByteString getServiceRolloutIdBytes()The current service rollout id used to process the request.
string service_rollout_id = 4;- Specified by:
getServiceRolloutIdBytesin interfaceReportResponseOrBuilder- Returns:
- The bytes for serviceRolloutId.
-
setServiceRolloutId
The current service rollout id used to process the request.
string service_rollout_id = 4;- Parameters:
value- The serviceRolloutId to set.- Returns:
- This builder for chaining.
-
clearServiceRolloutId
The current service rollout id used to process the request.
string service_rollout_id = 4;- Returns:
- This builder for chaining.
-
setServiceRolloutIdBytes
The current service rollout id used to process the request.
string service_rollout_id = 4;- Parameters:
value- The bytes for serviceRolloutId to set.- Returns:
- This builder for chaining.
-