Package com.google.cloud.compute.v1
Interface SnapshotGroupParametersOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SnapshotGroupParameters,SnapshotGroupParameters.Builder
@Generated
public interface SnapshotGroupParametersOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetReplicaZones(int index) URLs of the zones where disks should be replicated to.com.google.protobuf.ByteStringgetReplicaZonesBytes(int index) URLs of the zones where disks should be replicated to.intURLs of the zones where disks should be replicated to.URLs of the zones where disks should be replicated to.The source snapshot group used to create disks.com.google.protobuf.ByteStringThe source snapshot group used to create disks.getType()URL of the disk type resource describing which disk type to use to create disks.com.google.protobuf.ByteStringURL of the disk type resource describing which disk type to use to create disks.booleanThe source snapshot group used to create disks.booleanhasType()URL of the disk type resource describing which disk type to use to create disks.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getReplicaZonesList
URLs of the zones where disks should be replicated to. Only applicable for regional resources.
repeated string replica_zones = 48438272;- Returns:
- A list containing the replicaZones.
-
getReplicaZonesCount
int getReplicaZonesCount()URLs of the zones where disks should be replicated to. Only applicable for regional resources.
repeated string replica_zones = 48438272;- Returns:
- The count of replicaZones.
-
getReplicaZones
URLs of the zones where disks should be replicated to. Only applicable for regional resources.
repeated string replica_zones = 48438272;- Parameters:
index- The index of the element to return.- Returns:
- The replicaZones at the given index.
-
getReplicaZonesBytes
com.google.protobuf.ByteString getReplicaZonesBytes(int index) URLs of the zones where disks should be replicated to. Only applicable for regional resources.
repeated string replica_zones = 48438272;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the replicaZones at the given index.
-
hasSourceSnapshotGroup
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:
- Whether the sourceSnapshotGroup field is set.
-
getSourceSnapshotGroup
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:
- The sourceSnapshotGroup.
-
getSourceSnapshotGroupBytes
com.google.protobuf.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:
- The bytes for sourceSnapshotGroup.
-
hasType
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:
- Whether the type field is set.
-
getType
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:
- The type.
-
getTypeBytes
com.google.protobuf.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:
- The bytes for type.
-