Interface RegionDiskTargetEnvironmentOrBuilder (0.29.0)

publicinterface RegionDiskTargetEnvironmentOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.