Class InstancesBulkInsertOperationMetadata.Builder (1.47.0)

public static final class InstancesBulkInsertOperationMetadata.Builder extends GeneratedMessageV3.Builder<InstancesBulkInsertOperationMetadata.Builder> implements InstancesBulkInsertOperationMetadataOrBuilder

Protobuf type google.cloud.compute.v1.InstancesBulkInsertOperationMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstancesBulkInsertOperationMetadata build()
Returns
TypeDescription
InstancesBulkInsertOperationMetadata

buildPartial()

public InstancesBulkInsertOperationMetadata buildPartial()
Returns
TypeDescription
InstancesBulkInsertOperationMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public InstancesBulkInsertOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InstancesBulkInsertOperationMetadata.Builder
Overrides

clearPerLocationStatus()

public InstancesBulkInsertOperationMetadata.Builder clearPerLocationStatus()
Returns
TypeDescription
InstancesBulkInsertOperationMetadata.Builder

clone()

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

containsPerLocationStatus(String key)

public boolean containsPerLocationStatus(String key)

Status information per location (location name is key). Example key: zones/us-central1-a

map<string, .google.cloud.compute.v1.BulkInsertOperationStatus> per_location_status = 167851162;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public InstancesBulkInsertOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
InstancesBulkInsertOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMutablePerLocationStatus() (deprecated)

public Map<String,BulkInsertOperationStatus> getMutablePerLocationStatus()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,BulkInsertOperationStatus>

getPerLocationStatus() (deprecated)

public Map<String,BulkInsertOperationStatus> getPerLocationStatus()
Returns
TypeDescription
Map<String,BulkInsertOperationStatus>

getPerLocationStatusCount()

public int getPerLocationStatusCount()

Status information per location (location name is key). Example key: zones/us-central1-a

map<string, .google.cloud.compute.v1.BulkInsertOperationStatus> per_location_status = 167851162;

Returns
TypeDescription
int

getPerLocationStatusMap()

public Map<String,BulkInsertOperationStatus> getPerLocationStatusMap()

Status information per location (location name is key). Example key: zones/us-central1-a

map<string, .google.cloud.compute.v1.BulkInsertOperationStatus> per_location_status = 167851162;

Returns
TypeDescription
Map<String,BulkInsertOperationStatus>

getPerLocationStatusOrDefault(String key, BulkInsertOperationStatus defaultValue)

public BulkInsertOperationStatus getPerLocationStatusOrDefault(String key, BulkInsertOperationStatus defaultValue)

Status information per location (location name is key). Example key: zones/us-central1-a

map<string, .google.cloud.compute.v1.BulkInsertOperationStatus> per_location_status = 167851162;

Parameters
NameDescription
keyString
defaultValueBulkInsertOperationStatus
Returns
TypeDescription
BulkInsertOperationStatus

getPerLocationStatusOrThrow(String key)

public BulkInsertOperationStatus getPerLocationStatusOrThrow(String key)

Status information per location (location name is key). Example key: zones/us-central1-a

map<string, .google.cloud.compute.v1.BulkInsertOperationStatus> per_location_status = 167851162;

Parameter
NameDescription
keyString
Returns
TypeDescription
BulkInsertOperationStatus

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstancesBulkInsertOperationMetadata other)

public InstancesBulkInsertOperationMetadata.Builder mergeFrom(InstancesBulkInsertOperationMetadata other)
Parameter
NameDescription
otherInstancesBulkInsertOperationMetadata
Returns
TypeDescription
InstancesBulkInsertOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstancesBulkInsertOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InstancesBulkInsertOperationMetadata.Builder
Overrides

putAllPerLocationStatus(Map<String,BulkInsertOperationStatus> values)

public InstancesBulkInsertOperationMetadata.Builder putAllPerLocationStatus(Map<String,BulkInsertOperationStatus> values)

Status information per location (location name is key). Example key: zones/us-central1-a

map<string, .google.cloud.compute.v1.BulkInsertOperationStatus> per_location_status = 167851162;

Parameter
NameDescription
valuesMap<String,BulkInsertOperationStatus>
Returns
TypeDescription
InstancesBulkInsertOperationMetadata.Builder

putPerLocationStatus(String key, BulkInsertOperationStatus value)

public InstancesBulkInsertOperationMetadata.Builder putPerLocationStatus(String key, BulkInsertOperationStatus value)

Status information per location (location name is key). Example key: zones/us-central1-a

map<string, .google.cloud.compute.v1.BulkInsertOperationStatus> per_location_status = 167851162;

Parameters
NameDescription
keyString
valueBulkInsertOperationStatus
Returns
TypeDescription
InstancesBulkInsertOperationMetadata.Builder

putPerLocationStatusBuilderIfAbsent(String key)

public BulkInsertOperationStatus.Builder putPerLocationStatusBuilderIfAbsent(String key)

Status information per location (location name is key). Example key: zones/us-central1-a

map<string, .google.cloud.compute.v1.BulkInsertOperationStatus> per_location_status = 167851162;

Parameter
NameDescription
keyString
Returns
TypeDescription
BulkInsertOperationStatus.Builder

removePerLocationStatus(String key)

public InstancesBulkInsertOperationMetadata.Builder removePerLocationStatus(String key)

Status information per location (location name is key). Example key: zones/us-central1-a

map<string, .google.cloud.compute.v1.BulkInsertOperationStatus> per_location_status = 167851162;

Parameter
NameDescription
keyString
Returns
TypeDescription
InstancesBulkInsertOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public InstancesBulkInsertOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InstancesBulkInsertOperationMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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