public static final class BatchCreateInstancesMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateInstancesMetadata.Builder> implements BatchCreateInstancesMetadataOrBuilder
Message for metadata that is specific to BatchCreateInstances API. NEXT_ID: 3Protobuf type
google.cloud.alloydb.v1.BatchCreateInstancesMetadata| Modifier and Type | Method and Description |
|---|---|
BatchCreateInstancesMetadata.Builder |
addAllInstanceTargets(Iterable<String> values)
The instances being created in the API call.
|
BatchCreateInstancesMetadata.Builder |
addInstanceTargets(String value)
The instances being created in the API call.
|
BatchCreateInstancesMetadata.Builder |
addInstanceTargetsBytes(com.google.protobuf.ByteString value)
The instances being created in the API call.
|
BatchCreateInstancesMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchCreateInstancesMetadata |
build() |
BatchCreateInstancesMetadata |
buildPartial() |
BatchCreateInstancesMetadata.Builder |
clear() |
BatchCreateInstancesMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BatchCreateInstancesMetadata.Builder |
clearInstanceStatuses() |
BatchCreateInstancesMetadata.Builder |
clearInstanceTargets()
The instances being created in the API call.
|
BatchCreateInstancesMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BatchCreateInstancesMetadata.Builder |
clone() |
boolean |
containsInstanceStatuses(String key)
A map representing state of the instances involved in the
BatchCreateInstances operation during the operation execution.
|
BatchCreateInstancesMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,BatchCreateInstanceStatus> |
getInstanceStatuses()
Deprecated.
|
int |
getInstanceStatusesCount()
A map representing state of the instances involved in the
BatchCreateInstances operation during the operation execution.
|
Map<String,BatchCreateInstanceStatus> |
getInstanceStatusesMap()
A map representing state of the instances involved in the
BatchCreateInstances operation during the operation execution.
|
BatchCreateInstanceStatus |
getInstanceStatusesOrDefault(String key,
BatchCreateInstanceStatus defaultValue)
A map representing state of the instances involved in the
BatchCreateInstances operation during the operation execution.
|
BatchCreateInstanceStatus |
getInstanceStatusesOrThrow(String key)
A map representing state of the instances involved in the
BatchCreateInstances operation during the operation execution.
|
String |
getInstanceTargets(int index)
The instances being created in the API call.
|
com.google.protobuf.ByteString |
getInstanceTargetsBytes(int index)
The instances being created in the API call.
|
int |
getInstanceTargetsCount()
The instances being created in the API call.
|
com.google.protobuf.ProtocolStringList |
getInstanceTargetsList()
The instances being created in the API call.
|
Map<String,BatchCreateInstanceStatus> |
getMutableInstanceStatuses()
Deprecated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
BatchCreateInstancesMetadata.Builder |
mergeFrom(BatchCreateInstancesMetadata other) |
BatchCreateInstancesMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BatchCreateInstancesMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
BatchCreateInstancesMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchCreateInstancesMetadata.Builder |
putAllInstanceStatuses(Map<String,BatchCreateInstanceStatus> values)
A map representing state of the instances involved in the
BatchCreateInstances operation during the operation execution.
|
BatchCreateInstancesMetadata.Builder |
putInstanceStatuses(String key,
BatchCreateInstanceStatus value)
A map representing state of the instances involved in the
BatchCreateInstances operation during the operation execution.
|
BatchCreateInstanceStatus.Builder |
putInstanceStatusesBuilderIfAbsent(String key)
A map representing state of the instances involved in the
BatchCreateInstances operation during the operation execution.
|
BatchCreateInstancesMetadata.Builder |
removeInstanceStatuses(String key)
A map representing state of the instances involved in the
BatchCreateInstances operation during the operation execution.
|
BatchCreateInstancesMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchCreateInstancesMetadata.Builder |
setInstanceTargets(int index,
String value)
The instances being created in the API call.
|
BatchCreateInstancesMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BatchCreateInstancesMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateInstancesMetadata.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateInstancesMetadata.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateInstancesMetadata.Builder>public BatchCreateInstancesMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateInstancesMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateInstancesMetadata.Builder>public BatchCreateInstancesMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchCreateInstancesMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchCreateInstancesMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchCreateInstancesMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateInstancesMetadata.Builder>public BatchCreateInstancesMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateInstancesMetadata.Builder>public BatchCreateInstancesMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateInstancesMetadata.Builder>public BatchCreateInstancesMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateInstancesMetadata.Builder>public BatchCreateInstancesMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateInstancesMetadata.Builder>public BatchCreateInstancesMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateInstancesMetadata.Builder>public BatchCreateInstancesMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchCreateInstancesMetadata.Builder>public BatchCreateInstancesMetadata.Builder mergeFrom(BatchCreateInstancesMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateInstancesMetadata.Builder>public BatchCreateInstancesMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchCreateInstancesMetadata.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getInstanceTargetsList()
The instances being created in the API call. Each string in this list is the server defined resource path for target instances in the request and for the format of each string, see the comment on the Instance.name field.
repeated string instance_targets = 1;getInstanceTargetsList in interface BatchCreateInstancesMetadataOrBuilderpublic int getInstanceTargetsCount()
The instances being created in the API call. Each string in this list is the server defined resource path for target instances in the request and for the format of each string, see the comment on the Instance.name field.
repeated string instance_targets = 1;getInstanceTargetsCount in interface BatchCreateInstancesMetadataOrBuilderpublic String getInstanceTargets(int index)
The instances being created in the API call. Each string in this list is the server defined resource path for target instances in the request and for the format of each string, see the comment on the Instance.name field.
repeated string instance_targets = 1;getInstanceTargets in interface BatchCreateInstancesMetadataOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getInstanceTargetsBytes(int index)
The instances being created in the API call. Each string in this list is the server defined resource path for target instances in the request and for the format of each string, see the comment on the Instance.name field.
repeated string instance_targets = 1;getInstanceTargetsBytes in interface BatchCreateInstancesMetadataOrBuilderindex - The index of the value to return.public BatchCreateInstancesMetadata.Builder setInstanceTargets(int index, String value)
The instances being created in the API call. Each string in this list is the server defined resource path for target instances in the request and for the format of each string, see the comment on the Instance.name field.
repeated string instance_targets = 1;index - The index to set the value at.value - The instanceTargets to set.public BatchCreateInstancesMetadata.Builder addInstanceTargets(String value)
The instances being created in the API call. Each string in this list is the server defined resource path for target instances in the request and for the format of each string, see the comment on the Instance.name field.
repeated string instance_targets = 1;value - The instanceTargets to add.public BatchCreateInstancesMetadata.Builder addAllInstanceTargets(Iterable<String> values)
The instances being created in the API call. Each string in this list is the server defined resource path for target instances in the request and for the format of each string, see the comment on the Instance.name field.
repeated string instance_targets = 1;values - The instanceTargets to add.public BatchCreateInstancesMetadata.Builder clearInstanceTargets()
The instances being created in the API call. Each string in this list is the server defined resource path for target instances in the request and for the format of each string, see the comment on the Instance.name field.
repeated string instance_targets = 1;public BatchCreateInstancesMetadata.Builder addInstanceTargetsBytes(com.google.protobuf.ByteString value)
The instances being created in the API call. Each string in this list is the server defined resource path for target instances in the request and for the format of each string, see the comment on the Instance.name field.
repeated string instance_targets = 1;value - The bytes of the instanceTargets to add.public int getInstanceStatusesCount()
BatchCreateInstancesMetadataOrBuilderA map representing state of the instances involved in the BatchCreateInstances operation during the operation execution. The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.
map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2;
getInstanceStatusesCount in interface BatchCreateInstancesMetadataOrBuilderpublic boolean containsInstanceStatuses(String key)
A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution. The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.
map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2;
containsInstanceStatuses in interface BatchCreateInstancesMetadataOrBuilder@Deprecated public Map<String,BatchCreateInstanceStatus> getInstanceStatuses()
getInstanceStatusesMap() instead.getInstanceStatuses in interface BatchCreateInstancesMetadataOrBuilderpublic Map<String,BatchCreateInstanceStatus> getInstanceStatusesMap()
A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution. The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.
map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2;
getInstanceStatusesMap in interface BatchCreateInstancesMetadataOrBuilderpublic BatchCreateInstanceStatus getInstanceStatusesOrDefault(String key, BatchCreateInstanceStatus defaultValue)
A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution. The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.
map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2;
getInstanceStatusesOrDefault in interface BatchCreateInstancesMetadataOrBuilderpublic BatchCreateInstanceStatus getInstanceStatusesOrThrow(String key)
A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution. The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.
map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2;
getInstanceStatusesOrThrow in interface BatchCreateInstancesMetadataOrBuilderpublic BatchCreateInstancesMetadata.Builder clearInstanceStatuses()
public BatchCreateInstancesMetadata.Builder removeInstanceStatuses(String key)
A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution. The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.
map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2;
@Deprecated public Map<String,BatchCreateInstanceStatus> getMutableInstanceStatuses()
public BatchCreateInstancesMetadata.Builder putInstanceStatuses(String key, BatchCreateInstanceStatus value)
A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution. The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.
map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2;
public BatchCreateInstancesMetadata.Builder putAllInstanceStatuses(Map<String,BatchCreateInstanceStatus> values)
A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution. The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.
map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2;
public BatchCreateInstanceStatus.Builder putInstanceStatusesBuilderIfAbsent(String key)
A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution. The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.
map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2;
public final BatchCreateInstancesMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateInstancesMetadata.Builder>public final BatchCreateInstancesMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateInstancesMetadata.Builder>Copyright © 2025 Google LLC. All rights reserved.