public interface RegionDiskTargetEnvironmentOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getProject()
public abstract String getProject()Required. Target project for the disk.
string project = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public abstract ByteString getProjectBytes()Required. Target project for the disk.
string project = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
getRegion()
public abstract String getRegion()Required. Target region for the disk.
string region = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
public abstract ByteString getRegionBytes()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)
public abstract String getReplicaZones(int index)Required. Target URLs of the replica zones for the disk.
repeated string replica_zones = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The replicaZones at the given index. |
getReplicaZonesBytes(int index)
public abstract ByteString getReplicaZonesBytes(int index)Required. Target URLs of the replica zones for the disk.
repeated string replica_zones = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the replicaZones at the given index. |
getReplicaZonesCount()
public abstract int getReplicaZonesCount()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()
public abstract List<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. |