public interface SnapshotGroupParametersOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getReplicaZones(int index)
public abstract String getReplicaZones(int index)URLs of the zones where disks should be replicated to. Only applicable for regional resources.
repeated string replica_zones = 48438272;
| 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)URLs of the zones where disks should be replicated to. Only applicable for regional resources.
repeated string replica_zones = 48438272;
| 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()URLs of the zones where disks should be replicated to. Only applicable for regional resources.
repeated string replica_zones = 48438272;
| Returns | |
|---|---|
| Type | Description |
int |
The count of replicaZones. |
getReplicaZonesList()
public abstract List<String> getReplicaZonesList()URLs of the zones where disks should be replicated to. Only applicable for regional resources.
repeated string replica_zones = 48438272;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the replicaZones. |
getSourceSnapshotGroup()
public abstract String getSourceSnapshotGroup()The source snapshot group used to create disks. You can provide this as a partial or full URL to the resource. For example, the following are valid values:
- https://www.googleapis.com/compute/v1/projects/project/global/snapshotGroups/snapshotGroup
- projects/project/global/snapshotGroups/snapshotGroup
- global/snapshotGroups/snapshotGroup
optional string source_snapshot_group = 225130728;
| Returns | |
|---|---|
| Type | Description |
String |
The sourceSnapshotGroup. |
getSourceSnapshotGroupBytes()
public abstract ByteString getSourceSnapshotGroupBytes()The source snapshot group used to create disks. You can provide this as a partial or full URL to the resource. For example, the following are valid values:
- https://www.googleapis.com/compute/v1/projects/project/global/snapshotGroups/snapshotGroup
- projects/project/global/snapshotGroups/snapshotGroup
- global/snapshotGroups/snapshotGroup
optional string source_snapshot_group = 225130728;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourceSnapshotGroup. |
getType()
public abstract String getType()URL of the disk type resource describing which disk type to use to create disks. Provide this when creating the disk. For example:projects/project/zones/zone/diskTypes/pd-ssd. See Persistent disk types.
optional string type = 3575610;
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public abstract ByteString getTypeBytes()URL of the disk type resource describing which disk type to use to create disks. Provide this when creating the disk. For example:projects/project/zones/zone/diskTypes/pd-ssd. See Persistent disk types.
optional string type = 3575610;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |
hasSourceSnapshotGroup()
public abstract boolean hasSourceSnapshotGroup()The source snapshot group used to create disks. You can provide this as a partial or full URL to the resource. For example, the following are valid values:
- https://www.googleapis.com/compute/v1/projects/project/global/snapshotGroups/snapshotGroup
- projects/project/global/snapshotGroups/snapshotGroup
- global/snapshotGroups/snapshotGroup
optional string source_snapshot_group = 225130728;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sourceSnapshotGroup field is set. |
hasType()
public abstract boolean hasType()URL of the disk type resource describing which disk type to use to create disks. Provide this when creating the disk. For example:projects/project/zones/zone/diskTypes/pd-ssd. See Persistent disk types.
optional string type = 3575610;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the type field is set. |