- 0.72.0 (latest)
- 0.71.0
- 0.70.0
- 0.69.0
- 0.67.0
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.59.0
- 0.57.0
- 0.56.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class BatchCreateInstancesMetadata.Builder extends GeneratedMessage.Builder<BatchCreateInstancesMetadata.Builder> implements BatchCreateInstancesMetadataOrBuilderMessage for metadata that is specific to BatchCreateInstances API. NEXT_ID: 3
Protobuf type google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchCreateInstancesMetadata.BuilderImplements
BatchCreateInstancesMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllInstanceTargets(Iterable<String> values)
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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The instanceTargets to add. |
| Returns | |
|---|---|
| Type | Description |
BatchCreateInstancesMetadata.Builder |
This builder for chaining. |
addInstanceTargets(String value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe instanceTargets to add. |
| Returns | |
|---|---|
| Type | Description |
BatchCreateInstancesMetadata.Builder |
This builder for chaining. |
addInstanceTargetsBytes(ByteString value)
public BatchCreateInstancesMetadata.Builder addInstanceTargetsBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the instanceTargets to add. |
| Returns | |
|---|---|
| Type | Description |
BatchCreateInstancesMetadata.Builder |
This builder for chaining. |
build()
public BatchCreateInstancesMetadata build()| Returns | |
|---|---|
| Type | Description |
BatchCreateInstancesMetadata |
|
buildPartial()
public BatchCreateInstancesMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchCreateInstancesMetadata |
|
clear()
public BatchCreateInstancesMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchCreateInstancesMetadata.Builder |
|
clearInstanceStatuses()
public BatchCreateInstancesMetadata.Builder clearInstanceStatuses()| Returns | |
|---|---|
| Type | Description |
BatchCreateInstancesMetadata.Builder |
|
clearInstanceTargets()
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;
| Returns | |
|---|---|
| Type | Description |
BatchCreateInstancesMetadata.Builder |
This builder for chaining. |
containsInstanceStatuses(String key)
public 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.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public BatchCreateInstancesMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchCreateInstancesMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInstanceStatuses() (deprecated)
public Map<String,BatchCreateInstanceStatus> getInstanceStatuses()Use #getInstanceStatusesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,BatchCreateInstanceStatus> |
|
getInstanceStatusesCount()
public int getInstanceStatusesCount()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.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getInstanceStatusesMap()
public 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.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
| Returns | |
|---|---|
| Type | Description |
Map<String,BatchCreateInstanceStatus> |
|
getInstanceStatusesOrDefault(String key, BatchCreateInstanceStatus defaultValue)
public 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.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
BatchCreateInstanceStatus |
| Returns | |
|---|---|
| Type | Description |
BatchCreateInstanceStatus |
|
getInstanceStatusesOrThrow(String key)
public 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.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
BatchCreateInstanceStatus |
|
getInstanceTargets(int index)
public 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;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The instanceTargets at the given index. |
getInstanceTargetsBytes(int index)
public 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;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the instanceTargets at the given index. |
getInstanceTargetsCount()
public 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;
| Returns | |
|---|---|
| Type | Description |
int |
The count of instanceTargets. |
getInstanceTargetsList()
public 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;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the instanceTargets. |
getMutableInstanceStatuses() (deprecated)
public Map<String,BatchCreateInstanceStatus> getMutableInstanceStatuses()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,BatchCreateInstanceStatus> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BatchCreateInstancesMetadata other)
public BatchCreateInstancesMetadata.Builder mergeFrom(BatchCreateInstancesMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchCreateInstancesMetadata |
| Returns | |
|---|---|
| Type | Description |
BatchCreateInstancesMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchCreateInstancesMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchCreateInstancesMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchCreateInstancesMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchCreateInstancesMetadata.Builder |
|
putAllInstanceStatuses(Map<String,BatchCreateInstanceStatus> values)
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.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,BatchCreateInstanceStatus> |
| Returns | |
|---|---|
| Type | Description |
BatchCreateInstancesMetadata.Builder |
|
putInstanceStatuses(String key, BatchCreateInstanceStatus value)
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.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
BatchCreateInstanceStatus |
| Returns | |
|---|---|
| Type | Description |
BatchCreateInstancesMetadata.Builder |
|
putInstanceStatusesBuilderIfAbsent(String key)
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.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
BatchCreateInstanceStatus.Builder |
|
removeInstanceStatuses(String key)
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.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
BatchCreateInstancesMetadata.Builder |
|
setInstanceTargets(int index, String value)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe instanceTargets to set. |
| Returns | |
|---|---|
| Type | Description |
BatchCreateInstancesMetadata.Builder |
This builder for chaining. |