Class DestinationVolumeParameters.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<DestinationVolumeParameters.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<DestinationVolumeParameters.Builder>
      • getDefaultInstanceForType

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

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

        public DestinationVolumeParameters 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<DestinationVolumeParameters.Builder>
      • mergeFrom

        public DestinationVolumeParameters.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<DestinationVolumeParameters.Builder>
        Throws:
        IOException
      • getStoragePool

        public String getStoragePool()
         Required. Existing destination StoragePool name.
         
        string storage_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getStoragePool in interface DestinationVolumeParametersOrBuilder
        Returns:
        The storagePool.
      • getStoragePoolBytes

        public com.google.protobuf.ByteString getStoragePoolBytes()
         Required. Existing destination StoragePool name.
         
        string storage_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getStoragePoolBytes in interface DestinationVolumeParametersOrBuilder
        Returns:
        The bytes for storagePool.
      • setStoragePool

        public DestinationVolumeParameters.Builder setStoragePool​(String value)
         Required. Existing destination StoragePool name.
         
        string storage_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The storagePool to set.
        Returns:
        This builder for chaining.
      • clearStoragePool

        public DestinationVolumeParameters.Builder clearStoragePool()
         Required. Existing destination StoragePool name.
         
        string storage_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setStoragePoolBytes

        public DestinationVolumeParameters.Builder setStoragePoolBytes​(com.google.protobuf.ByteString value)
         Required. Existing destination StoragePool name.
         
        string storage_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for storagePool to set.
        Returns:
        This builder for chaining.
      • getVolumeId

        public String getVolumeId()
         Desired destination volume resource id. If not specified, source volume's
         resource id will be used.
         This value must start with a lowercase letter followed by up to 62
         lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
         
        string volume_id = 2;
        Specified by:
        getVolumeId in interface DestinationVolumeParametersOrBuilder
        Returns:
        The volumeId.
      • getVolumeIdBytes

        public com.google.protobuf.ByteString getVolumeIdBytes()
         Desired destination volume resource id. If not specified, source volume's
         resource id will be used.
         This value must start with a lowercase letter followed by up to 62
         lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
         
        string volume_id = 2;
        Specified by:
        getVolumeIdBytes in interface DestinationVolumeParametersOrBuilder
        Returns:
        The bytes for volumeId.
      • setVolumeId

        public DestinationVolumeParameters.Builder setVolumeId​(String value)
         Desired destination volume resource id. If not specified, source volume's
         resource id will be used.
         This value must start with a lowercase letter followed by up to 62
         lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
         
        string volume_id = 2;
        Parameters:
        value - The volumeId to set.
        Returns:
        This builder for chaining.
      • clearVolumeId

        public DestinationVolumeParameters.Builder clearVolumeId()
         Desired destination volume resource id. If not specified, source volume's
         resource id will be used.
         This value must start with a lowercase letter followed by up to 62
         lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
         
        string volume_id = 2;
        Returns:
        This builder for chaining.
      • setVolumeIdBytes

        public DestinationVolumeParameters.Builder setVolumeIdBytes​(com.google.protobuf.ByteString value)
         Desired destination volume resource id. If not specified, source volume's
         resource id will be used.
         This value must start with a lowercase letter followed by up to 62
         lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
         
        string volume_id = 2;
        Parameters:
        value - The bytes for volumeId to set.
        Returns:
        This builder for chaining.
      • getShareNameBytes

        public com.google.protobuf.ByteString getShareNameBytes()
         Destination volume's share name. If not specified, source volume's share
         name will be used.
         
        string share_name = 3;
        Specified by:
        getShareNameBytes in interface DestinationVolumeParametersOrBuilder
        Returns:
        The bytes for shareName.
      • setShareName

        public DestinationVolumeParameters.Builder setShareName​(String value)
         Destination volume's share name. If not specified, source volume's share
         name will be used.
         
        string share_name = 3;
        Parameters:
        value - The shareName to set.
        Returns:
        This builder for chaining.
      • clearShareName

        public DestinationVolumeParameters.Builder clearShareName()
         Destination volume's share name. If not specified, source volume's share
         name will be used.
         
        string share_name = 3;
        Returns:
        This builder for chaining.
      • setShareNameBytes

        public DestinationVolumeParameters.Builder setShareNameBytes​(com.google.protobuf.ByteString value)
         Destination volume's share name. If not specified, source volume's share
         name will be used.
         
        string share_name = 3;
        Parameters:
        value - The bytes for shareName to set.
        Returns:
        This builder for chaining.
      • hasDescription

        public boolean hasDescription()
         Description for the destination volume.
         
        optional string description = 4;
        Specified by:
        hasDescription in interface DestinationVolumeParametersOrBuilder
        Returns:
        Whether the description field is set.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Description for the destination volume.
         
        optional string description = 4;
        Specified by:
        getDescriptionBytes in interface DestinationVolumeParametersOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public DestinationVolumeParameters.Builder setDescription​(String value)
         Description for the destination volume.
         
        optional string description = 4;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public DestinationVolumeParameters.Builder clearDescription()
         Description for the destination volume.
         
        optional string description = 4;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public DestinationVolumeParameters.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         Description for the destination volume.
         
        optional string description = 4;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final DestinationVolumeParameters.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DestinationVolumeParameters.Builder>