Class BatchDeleteDataPointsOperationMetadata.Builder (0.2.0)

public static final class BatchDeleteDataPointsOperationMetadata.Builder extends GeneratedMessage.Builder<BatchDeleteDataPointsOperationMetadata.Builder> implements BatchDeleteDataPointsOperationMetadataOrBuilder

Metadata for a batch delete data points operation.

Protobuf type google.devicesandservices.health.v4.BatchDeleteDataPointsOperationMetadata

Static Methods

getDescriptor()

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

Methods

build()

public BatchDeleteDataPointsOperationMetadata build()
Returns
Type Description
BatchDeleteDataPointsOperationMetadata

buildPartial()

public BatchDeleteDataPointsOperationMetadata buildPartial()
Returns
Type Description
BatchDeleteDataPointsOperationMetadata

clear()

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

clearFailedRequests()

public BatchDeleteDataPointsOperationMetadata.Builder clearFailedRequests()
Returns
Type Description
BatchDeleteDataPointsOperationMetadata.Builder

containsFailedRequests(int key)

public boolean containsFailedRequests(int key)

The key in this map is the index of the request in the requests field in the batch request.

map<int32, .google.rpc.Status> failed_requests = 1;

Parameter
Name Description
key int
Returns
Type Description
boolean

getDefaultInstanceForType()

public BatchDeleteDataPointsOperationMetadata getDefaultInstanceForType()
Returns
Type Description
BatchDeleteDataPointsOperationMetadata

getDescriptorForType()

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

getFailedRequests() (deprecated)

public Map<Integer,Status> getFailedRequests()
Returns
Type Description
Map<Integer,com.google.rpc.Status>

getFailedRequestsCount()

public int getFailedRequestsCount()

The key in this map is the index of the request in the requests field in the batch request.

map<int32, .google.rpc.Status> failed_requests = 1;

Returns
Type Description
int

getFailedRequestsMap()

public Map<Integer,Status> getFailedRequestsMap()

The key in this map is the index of the request in the requests field in the batch request.

map<int32, .google.rpc.Status> failed_requests = 1;

Returns
Type Description
Map<Integer,com.google.rpc.Status>

getFailedRequestsOrDefault(int key, Status defaultValue)

public Status getFailedRequestsOrDefault(int key, Status defaultValue)

The key in this map is the index of the request in the requests field 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

getFailedRequestsOrThrow(int key)

public Status getFailedRequestsOrThrow(int key)

The key in this map is the index of the request in the requests field in the batch request.

map<int32, .google.rpc.Status> failed_requests = 1;

Parameter
Name Description
key int
Returns
Type Description
com.google.rpc.Status

getMutableFailedRequests() (deprecated)

public Map<Integer,Status> getMutableFailedRequests()

Use alternate mutation accessors instead.

Returns
Type Description
Map<Integer,com.google.rpc.Status>

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

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)

internalGetMutableMapFieldReflection(int number)

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)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchDeleteDataPointsOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

putAllFailedRequests(Map<Integer,Status> values)

public BatchDeleteDataPointsOperationMetadata.Builder putAllFailedRequests(Map<Integer,Status> values)

The key in this map is the index of the request in the requests field in the batch request.

map<int32, .google.rpc.Status> failed_requests = 1;

Parameter
Name Description
values Map<Integer,com.google.rpc.Status>
Returns
Type Description
BatchDeleteDataPointsOperationMetadata.Builder

putFailedRequests(int key, Status value)

public BatchDeleteDataPointsOperationMetadata.Builder putFailedRequests(int key, Status value)

The key in this map is the index of the request in the requests field in the batch request.

map<int32, .google.rpc.Status> failed_requests = 1;

Parameters
Name Description
key int
value com.google.rpc.Status
Returns
Type Description
BatchDeleteDataPointsOperationMetadata.Builder

putFailedRequestsBuilderIfAbsent(int key)

public Status.Builder putFailedRequestsBuilderIfAbsent(int key)

The key in this map is the index of the request in the requests field 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

removeFailedRequests(int key)

public BatchDeleteDataPointsOperationMetadata.Builder removeFailedRequests(int key)

The key in this map is the index of the request in the requests field in the batch request.

map<int32, .google.rpc.Status> failed_requests = 1;

Parameter
Name Description
key int
Returns
Type Description
BatchDeleteDataPointsOperationMetadata.Builder