Class BulkInsertDiskResource

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.BulkInsertDiskResource
All Implemented Interfaces:
BulkInsertDiskResourceOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class BulkInsertDiskResource extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • INSTANT_SNAPSHOT_GROUP_PARAMETERS_FIELD_NUMBER

      public static final int INSTANT_SNAPSHOT_GROUP_PARAMETERS_FIELD_NUMBER
      See Also:
    • SNAPSHOT_GROUP_PARAMETERS_FIELD_NUMBER

      public static final int SNAPSHOT_GROUP_PARAMETERS_FIELD_NUMBER
      See Also:
    • SOURCE_CONSISTENCY_GROUP_POLICY_FIELD_NUMBER

      public static final int SOURCE_CONSISTENCY_GROUP_POLICY_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasInstantSnapshotGroupParameters

      public boolean hasInstantSnapshotGroupParameters()
       The parameters for the instant snapshot group.
       
      optional .google.cloud.compute.v1.InstantSnapshotGroupParameters instant_snapshot_group_parameters = 17051623;
      Specified by:
      hasInstantSnapshotGroupParameters in interface BulkInsertDiskResourceOrBuilder
      Returns:
      Whether the instantSnapshotGroupParameters field is set.
    • getInstantSnapshotGroupParameters

      public InstantSnapshotGroupParameters getInstantSnapshotGroupParameters()
       The parameters for the instant snapshot group.
       
      optional .google.cloud.compute.v1.InstantSnapshotGroupParameters instant_snapshot_group_parameters = 17051623;
      Specified by:
      getInstantSnapshotGroupParameters in interface BulkInsertDiskResourceOrBuilder
      Returns:
      The instantSnapshotGroupParameters.
    • getInstantSnapshotGroupParametersOrBuilder

      public InstantSnapshotGroupParametersOrBuilder getInstantSnapshotGroupParametersOrBuilder()
       The parameters for the instant snapshot group.
       
      optional .google.cloud.compute.v1.InstantSnapshotGroupParameters instant_snapshot_group_parameters = 17051623;
      Specified by:
      getInstantSnapshotGroupParametersOrBuilder in interface BulkInsertDiskResourceOrBuilder
    • hasSnapshotGroupParameters

      public boolean hasSnapshotGroupParameters()
       The parameters for the snapshot group. The usage of snapshot group feature
       is restricted.
       
      optional .google.cloud.compute.v1.SnapshotGroupParameters snapshot_group_parameters = 42252485;
      Specified by:
      hasSnapshotGroupParameters in interface BulkInsertDiskResourceOrBuilder
      Returns:
      Whether the snapshotGroupParameters field is set.
    • getSnapshotGroupParameters

      public SnapshotGroupParameters getSnapshotGroupParameters()
       The parameters for the snapshot group. The usage of snapshot group feature
       is restricted.
       
      optional .google.cloud.compute.v1.SnapshotGroupParameters snapshot_group_parameters = 42252485;
      Specified by:
      getSnapshotGroupParameters in interface BulkInsertDiskResourceOrBuilder
      Returns:
      The snapshotGroupParameters.
    • getSnapshotGroupParametersOrBuilder

      public SnapshotGroupParametersOrBuilder getSnapshotGroupParametersOrBuilder()
       The parameters for the snapshot group. The usage of snapshot group feature
       is restricted.
       
      optional .google.cloud.compute.v1.SnapshotGroupParameters snapshot_group_parameters = 42252485;
      Specified by:
      getSnapshotGroupParametersOrBuilder in interface BulkInsertDiskResourceOrBuilder
    • 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;
      Specified by:
      hasSourceConsistencyGroupPolicy in interface BulkInsertDiskResourceOrBuilder
      Returns:
      Whether the sourceConsistencyGroupPolicy field is set.
    • 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;
      Specified by:
      getSourceConsistencyGroupPolicy in interface BulkInsertDiskResourceOrBuilder
      Returns:
      The sourceConsistencyGroupPolicy.
    • getSourceConsistencyGroupPolicyBytes

      public com.google.protobuf.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;
      Specified by:
      getSourceConsistencyGroupPolicyBytes in interface BulkInsertDiskResourceOrBuilder
      Returns:
      The bytes for sourceConsistencyGroupPolicy.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static BulkInsertDiskResource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BulkInsertDiskResource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BulkInsertDiskResource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BulkInsertDiskResource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BulkInsertDiskResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BulkInsertDiskResource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BulkInsertDiskResource parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BulkInsertDiskResource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BulkInsertDiskResource parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BulkInsertDiskResource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BulkInsertDiskResource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BulkInsertDiskResource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public BulkInsertDiskResource.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static BulkInsertDiskResource.Builder newBuilder()
    • newBuilder

      public static BulkInsertDiskResource.Builder newBuilder(BulkInsertDiskResource prototype)
    • toBuilder

      public BulkInsertDiskResource.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected BulkInsertDiskResource.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static BulkInsertDiskResource getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<BulkInsertDiskResource> parser()
    • getParserForType

      public com.google.protobuf.Parser<BulkInsertDiskResource> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public BulkInsertDiskResource getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder