Class InstancesBulkInsertOperationMetadata.Builder (1.65.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InstancesBulkInsertOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InstancesBulkInsertOperationMetadata.Builder
Overrides

build()

public InstancesBulkInsertOperationMetadata build()
Returns
Type Description
InstancesBulkInsertOperationMetadata

buildPartial()

public InstancesBulkInsertOperationMetadata buildPartial()
Returns
Type Description
InstancesBulkInsertOperationMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

public InstancesBulkInsertOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InstancesBulkInsertOperationMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InstancesBulkInsertOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InstancesBulkInsertOperationMetadata.Builder
Overrides

clearPerLocationStatus()

public InstancesBulkInsertOperationMetadata.Builder clearPerLocationStatus()
Returns
Type Description
InstancesBulkInsertOperationMetadata.Builder

clone()

public InstancesBulkInsertOperationMetadata.Builder clone()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public InstancesBulkInsertOperationMetadata getDefaultInstanceForType()
Returns
Type Description
InstancesBulkInsertOperationMetadata

getDescriptorForType()

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

getMutablePerLocationStatus() (deprecated)

public Map<String,BulkInsertOperationStatus> getMutablePerLocationStatus()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,BulkInsertOperationStatus>

getPerLocationStatus() (deprecated)

public Map<String,BulkInsertOperationStatus> getPerLocationStatus()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue BulkInsertOperationStatus
Returns
Type Description
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
Name Description
key String
Returns
Type Description
BulkInsertOperationStatus

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstancesBulkInsertOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstancesBulkInsertOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
values Map<String,BulkInsertOperationStatus>
Returns
Type Description
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
Name Description
key String
value BulkInsertOperationStatus
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
InstancesBulkInsertOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InstancesBulkInsertOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InstancesBulkInsertOperationMetadata.Builder
Overrides

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

public InstancesBulkInsertOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InstancesBulkInsertOperationMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InstancesBulkInsertOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InstancesBulkInsertOperationMetadata.Builder
Overrides