public final class BatchCreateInstancesMetadata extends GeneratedMessageV3 implements BatchCreateInstancesMetadataOrBuilder
Message for metadata that is specific to BatchCreateInstances API.
Protobuf type google.cloud.alloydb.v1.BatchCreateInstancesMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int INSTANCE_STATUSES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int INSTANCE_TARGETS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static BatchCreateInstancesMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static BatchCreateInstancesMetadata.Builder newBuilder()
public static BatchCreateInstancesMetadata.Builder newBuilder(BatchCreateInstancesMetadata prototype)
public static BatchCreateInstancesMetadata parseDelimitedFrom(InputStream input)
public static BatchCreateInstancesMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchCreateInstancesMetadata parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static BatchCreateInstancesMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateInstancesMetadata parseFrom(ByteString data)
public static BatchCreateInstancesMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateInstancesMetadata parseFrom(CodedInputStream input)
public static BatchCreateInstancesMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchCreateInstancesMetadata parseFrom(InputStream input)
public static BatchCreateInstancesMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchCreateInstancesMetadata parseFrom(ByteBuffer data)
public static BatchCreateInstancesMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<BatchCreateInstancesMetadata> parser()
Methods
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.v1.BatchCreateInstanceStatus> instance_statuses = 2;
Parameter |
Name |
Description |
key |
String
|
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public BatchCreateInstancesMetadata getDefaultInstanceForType()
public Map<String,BatchCreateInstanceStatus> getInstanceStatuses()
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.v1.BatchCreateInstanceStatus> instance_statuses = 2;
Returns |
Type |
Description |
int |
|
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.v1.BatchCreateInstanceStatus> instance_statuses = 2;
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.v1.BatchCreateInstanceStatus> instance_statuses = 2;
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.v1.BatchCreateInstanceStatus> instance_statuses = 2;
Parameter |
Name |
Description |
key |
String
|
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 |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The instanceTargets at the given 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 |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the instanceTargets at the given index.
|
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.
|
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;
public Parser<BatchCreateInstancesMetadata> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public final UnknownFieldSet getUnknownFields()
Overrides
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapField internalGetMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
public final boolean isInitialized()
Overrides
public BatchCreateInstancesMetadata.Builder newBuilderForType()
protected BatchCreateInstancesMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public BatchCreateInstancesMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides