Class DisksStartAsyncReplicationRequest.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

        public DisksStartAsyncReplicationRequest 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DisksStartAsyncReplicationRequest.Builder>
      • 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.