Interface RegionDiskTargetEnvironmentOrBuilder (0.29.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface RegionDiskTargetEnvironmentOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getProject()
publicabstractStringgetProject()Required. Target project for the disk.
string project = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
publicabstractByteStringgetProjectBytes()Required. Target project for the disk.
string project = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
getRegion()
publicabstractStringgetRegion()Required. Target region for the disk.
string region = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
publicabstractByteStringgetRegionBytes()Required. Target region for the disk.
string region = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for region. |
getReplicaZones(int index)
publicabstractStringgetReplicaZones(intindex)Required. Target URLs of the replica zones for the disk.
repeated string replica_zones = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The replicaZones at the given index. |
getReplicaZonesBytes(int index)
publicabstractByteStringgetReplicaZonesBytes(intindex)Required. Target URLs of the replica zones for the disk.
repeated string replica_zones = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the replicaZones at the given index. |
getReplicaZonesCount()
publicabstractintgetReplicaZonesCount()Required. Target URLs of the replica zones for the disk.
repeated string replica_zones = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of replicaZones. |
getReplicaZonesList()
publicabstractList<String>getReplicaZonesList()Required. Target URLs of the replica zones for the disk.
repeated string replica_zones = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the replicaZones. |