public static interface AttachedDisk.InitializeParamsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDiskName()
public abstract String getDiskName()
Optional. Specifies the disk name. If not specified, the default is to use the name of the instance.
optional string disk_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The diskName. |
getDiskNameBytes()
public abstract ByteString getDiskNameBytes()
Optional. Specifies the disk name. If not specified, the default is to use the name of the instance.
optional string disk_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for diskName. |
getReplicaZones(int index)
public abstract String getReplicaZones(int index)
Optional. URL of the zone where the disk should be created. Required for each regional disk associated with the instance.
repeated string replica_zones = 2 [(.google.api.field_behavior) = OPTIONAL];
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)
public abstract ByteString getReplicaZonesBytes(int index)
Optional. URL of the zone where the disk should be created. Required for each regional disk associated with the instance.
repeated string replica_zones = 2 [(.google.api.field_behavior) = OPTIONAL];
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()
public abstract int getReplicaZonesCount()
Optional. URL of the zone where the disk should be created. Required for each regional disk associated with the instance.
repeated string replica_zones = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of replicaZones. |
getReplicaZonesList()
public abstract List<String> getReplicaZonesList()
Optional. URL of the zone where the disk should be created. Required for each regional disk associated with the instance.
repeated string replica_zones = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the replicaZones. |
hasDiskName()
public abstract boolean hasDiskName()
Optional. Specifies the disk name. If not specified, the default is to use the name of the instance.
optional string disk_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the diskName field is set. |