public final class BulkInsertDiskResource extends GeneratedMessageV3 implements BulkInsertDiskResourceOrBuilder
A transient resource used in compute.disks.bulkInsert and compute.regionDisks.bulkInsert. It is only used to process requests and is not persisted.
Protobuf type google.cloud.compute.v1.BulkInsertDiskResource
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
SOURCE_CONSISTENCY_GROUP_POLICY_FIELD_NUMBER
public static final int SOURCE_CONSISTENCY_GROUP_POLICY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BulkInsertDiskResource getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BulkInsertDiskResource.Builder newBuilder()
newBuilder(BulkInsertDiskResource prototype)
public static BulkInsertDiskResource.Builder newBuilder(BulkInsertDiskResource prototype)
public static BulkInsertDiskResource parseDelimitedFrom(InputStream input)
public static BulkInsertDiskResource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BulkInsertDiskResource parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BulkInsertDiskResource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BulkInsertDiskResource parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BulkInsertDiskResource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BulkInsertDiskResource parseFrom(CodedInputStream input)
public static BulkInsertDiskResource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BulkInsertDiskResource parseFrom(InputStream input)
public static BulkInsertDiskResource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BulkInsertDiskResource parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BulkInsertDiskResource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BulkInsertDiskResource> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public BulkInsertDiskResource getDefaultInstanceForType()
getParserForType()
public Parser<BulkInsertDiskResource> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSourceConsistencyGroupPolicy()
public String getSourceConsistencyGroupPolicy()
The URL of the DiskConsistencyGroupPolicy for the group of disks to clone. This may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy
optional string source_consistency_group_policy = 19616093;
Returns |
Type |
Description |
String |
The sourceConsistencyGroupPolicy.
|
getSourceConsistencyGroupPolicyBytes()
public ByteString getSourceConsistencyGroupPolicyBytes()
The URL of the DiskConsistencyGroupPolicy for the group of disks to clone. This may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy
optional string source_consistency_group_policy = 19616093;
Returns |
Type |
Description |
ByteString |
The bytes for sourceConsistencyGroupPolicy.
|
hasSourceConsistencyGroupPolicy()
public boolean hasSourceConsistencyGroupPolicy()
The URL of the DiskConsistencyGroupPolicy for the group of disks to clone. This may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy
optional string source_consistency_group_policy = 19616093;
Returns |
Type |
Description |
boolean |
Whether the sourceConsistencyGroupPolicy field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BulkInsertDiskResource.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BulkInsertDiskResource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BulkInsertDiskResource.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides