Class DisksStartAsyncReplicationRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DisksStartAsyncReplicationRequest.Builder>
com.google.cloud.compute.v1.DisksStartAsyncReplicationRequest.Builder
All Implemented Interfaces:
DisksStartAsyncReplicationRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DisksStartAsyncReplicationRequest

public static final class DisksStartAsyncReplicationRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<DisksStartAsyncReplicationRequest.Builder> implements DisksStartAsyncReplicationRequestOrBuilder
 
Protobuf type google.cloud.compute.v1.DisksStartAsyncReplicationRequest
  • 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.Builder<DisksStartAsyncReplicationRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DisksStartAsyncReplicationRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DisksStartAsyncReplicationRequest.Builder>
    • getDefaultInstanceForType

      public DisksStartAsyncReplicationRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DisksStartAsyncReplicationRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DisksStartAsyncReplicationRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DisksStartAsyncReplicationRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DisksStartAsyncReplicationRequest.Builder>
    • mergeFrom

      public DisksStartAsyncReplicationRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DisksStartAsyncReplicationRequest.Builder>
      Throws:
      IOException
    • hasAsyncSecondaryDisk

      public boolean hasAsyncSecondaryDisk()
       The secondary disk to start asynchronous replication to.
       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/zones/zone/disks/disk
      
       -
       https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk
      
       -
       projects/project/zones/zone/disks/disk
      
       -
       projects/project/regions/region/disks/disk
      
       -
       zones/zone/disks/disk
      
       -
       regions/region/disks/disk
       
      optional string async_secondary_disk = 131645867;
      Specified by:
      hasAsyncSecondaryDisk in interface DisksStartAsyncReplicationRequestOrBuilder
      Returns:
      Whether the asyncSecondaryDisk field is set.
    • getAsyncSecondaryDisk

      public String getAsyncSecondaryDisk()
       The secondary disk to start asynchronous replication to.
       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/zones/zone/disks/disk
      
       -
       https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk
      
       -
       projects/project/zones/zone/disks/disk
      
       -
       projects/project/regions/region/disks/disk
      
       -
       zones/zone/disks/disk
      
       -
       regions/region/disks/disk
       
      optional string async_secondary_disk = 131645867;
      Specified by:
      getAsyncSecondaryDisk in interface DisksStartAsyncReplicationRequestOrBuilder
      Returns:
      The asyncSecondaryDisk.
    • getAsyncSecondaryDiskBytes

      public com.google.protobuf.ByteString getAsyncSecondaryDiskBytes()
       The secondary disk to start asynchronous replication to.
       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/zones/zone/disks/disk
      
       -
       https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk
      
       -
       projects/project/zones/zone/disks/disk
      
       -
       projects/project/regions/region/disks/disk
      
       -
       zones/zone/disks/disk
      
       -
       regions/region/disks/disk
       
      optional string async_secondary_disk = 131645867;
      Specified by:
      getAsyncSecondaryDiskBytes in interface DisksStartAsyncReplicationRequestOrBuilder
      Returns:
      The bytes for asyncSecondaryDisk.
    • setAsyncSecondaryDisk

      public DisksStartAsyncReplicationRequest.Builder setAsyncSecondaryDisk(String value)
       The secondary disk to start asynchronous replication to.
       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/zones/zone/disks/disk
      
       -
       https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk
      
       -
       projects/project/zones/zone/disks/disk
      
       -
       projects/project/regions/region/disks/disk
      
       -
       zones/zone/disks/disk
      
       -
       regions/region/disks/disk
       
      optional string async_secondary_disk = 131645867;
      Parameters:
      value - The asyncSecondaryDisk to set.
      Returns:
      This builder for chaining.
    • clearAsyncSecondaryDisk

      public DisksStartAsyncReplicationRequest.Builder clearAsyncSecondaryDisk()
       The secondary disk to start asynchronous replication to.
       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/zones/zone/disks/disk
      
       -
       https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk
      
       -
       projects/project/zones/zone/disks/disk
      
       -
       projects/project/regions/region/disks/disk
      
       -
       zones/zone/disks/disk
      
       -
       regions/region/disks/disk
       
      optional string async_secondary_disk = 131645867;
      Returns:
      This builder for chaining.
    • setAsyncSecondaryDiskBytes

      public DisksStartAsyncReplicationRequest.Builder setAsyncSecondaryDiskBytes(com.google.protobuf.ByteString value)
       The secondary disk to start asynchronous replication to.
       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/zones/zone/disks/disk
      
       -
       https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk
      
       -
       projects/project/zones/zone/disks/disk
      
       -
       projects/project/regions/region/disks/disk
      
       -
       zones/zone/disks/disk
      
       -
       regions/region/disks/disk
       
      optional string async_secondary_disk = 131645867;
      Parameters:
      value - The bytes for asyncSecondaryDisk to set.
      Returns:
      This builder for chaining.