public static final class BatchAdReviewCenterAdsOperationMetadata.Builder extends GeneratedMessage.Builder<BatchAdReviewCenterAdsOperationMetadata.Builder> implements BatchAdReviewCenterAdsOperationMetadataOrBuilder
Metadata object for BatchAllowAdReviewCenterAds and
BatchBlockAdReviewCenterAds methods.
Protobuf type google.ads.admanager.v1.BatchAdReviewCenterAdsOperationMetadata
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public BatchAdReviewCenterAdsOperationMetadata build()
public BatchAdReviewCenterAdsOperationMetadata buildPartial()
public BatchAdReviewCenterAdsOperationMetadata.Builder clear()
Overrides
public BatchAdReviewCenterAdsOperationMetadata.Builder clearFailedRequests()
public boolean containsFailedRequests(int key)
The status of each failed request, keyed by the index of the corresponding
request in the batch request.
map<int32, .google.rpc.Status> failed_requests = 1;
| Parameter |
| Name |
Description |
key |
int
|
public BatchAdReviewCenterAdsOperationMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Map<Integer,Status> getFailedRequests()
| Returns |
| Type |
Description |
Map<Integer,com.google.rpc.Status> |
|
public int getFailedRequestsCount()
The status of each failed request, keyed by the index of the corresponding
request in the batch request.
map<int32, .google.rpc.Status> failed_requests = 1;
| Returns |
| Type |
Description |
int |
|
public Map<Integer,Status> getFailedRequestsMap()
The status of each failed request, keyed by the index of the corresponding
request in the batch request.
map<int32, .google.rpc.Status> failed_requests = 1;
| Returns |
| Type |
Description |
Map<Integer,com.google.rpc.Status> |
|
public Status getFailedRequestsOrDefault(int key, Status defaultValue)
The status of each failed request, keyed by the index of the corresponding
request in the batch request.
map<int32, .google.rpc.Status> failed_requests = 1;
| Parameters |
| Name |
Description |
key |
int
|
defaultValue |
com.google.rpc.Status
|
| Returns |
| Type |
Description |
com.google.rpc.Status |
|
public Status getFailedRequestsOrThrow(int key)
The status of each failed request, keyed by the index of the corresponding
request in the batch request.
map<int32, .google.rpc.Status> failed_requests = 1;
| Parameter |
| Name |
Description |
key |
int
|
| Returns |
| Type |
Description |
com.google.rpc.Status |
|
public Map<Integer,Status> getMutableFailedRequests()
Use alternate mutation accessors instead.
| Returns |
| Type |
Description |
Map<Integer,com.google.rpc.Status> |
|
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public BatchAdReviewCenterAdsOperationMetadata.Builder mergeFrom(BatchAdReviewCenterAdsOperationMetadata other)
public BatchAdReviewCenterAdsOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BatchAdReviewCenterAdsOperationMetadata.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public BatchAdReviewCenterAdsOperationMetadata.Builder putAllFailedRequests(Map<Integer,Status> values)
The status of each failed request, keyed by the index of the corresponding
request in the batch request.
map<int32, .google.rpc.Status> failed_requests = 1;
| Parameter |
| Name |
Description |
values |
Map<Integer,com.google.rpc.Status>
|
public BatchAdReviewCenterAdsOperationMetadata.Builder putFailedRequests(int key, Status value)
The status of each failed request, keyed by the index of the corresponding
request in the batch request.
map<int32, .google.rpc.Status> failed_requests = 1;
| Parameters |
| Name |
Description |
key |
int
|
value |
com.google.rpc.Status
|
public Status.Builder putFailedRequestsBuilderIfAbsent(int key)
The status of each failed request, keyed by the index of the corresponding
request in the batch request.
map<int32, .google.rpc.Status> failed_requests = 1;
| Parameter |
| Name |
Description |
key |
int
|
| Returns |
| Type |
Description |
com.google.rpc.Status.Builder |
|
public BatchAdReviewCenterAdsOperationMetadata.Builder removeFailedRequests(int key)
The status of each failed request, keyed by the index of the corresponding
request in the batch request.
map<int32, .google.rpc.Status> failed_requests = 1;
| Parameter |
| Name |
Description |
key |
int
|