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

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

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

        public Generated.AttachedVolume buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public Generated.AttachedVolume.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.AttachedVolume.Builder>
      • addRepeatedField

        public Generated.AttachedVolume.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.AttachedVolume.Builder>
      • isInitialized

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

        public Generated.AttachedVolume.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<Generated.AttachedVolume.Builder>
        Throws:
        IOException
      • hasName

        public boolean hasName()
         Name of the attached volume
         
        optional string name = 1;
        Specified by:
        hasName in interface Generated.AttachedVolumeOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Name of the attached volume
         
        optional string name = 1;
        Specified by:
        getNameBytes in interface Generated.AttachedVolumeOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Generated.AttachedVolume.Builder setName​(String value)
         Name of the attached volume
         
        optional string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • setNameBytes

        public Generated.AttachedVolume.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Name of the attached volume
         
        optional string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasDevicePath

        public boolean hasDevicePath()
         DevicePath represents the device path where the volume should be available
         
        optional string devicePath = 2;
        Specified by:
        hasDevicePath in interface Generated.AttachedVolumeOrBuilder
        Returns:
        Whether the devicePath field is set.
      • getDevicePathBytes

        public com.google.protobuf.ByteString getDevicePathBytes()
         DevicePath represents the device path where the volume should be available
         
        optional string devicePath = 2;
        Specified by:
        getDevicePathBytes in interface Generated.AttachedVolumeOrBuilder
        Returns:
        The bytes for devicePath.
      • setDevicePath

        public Generated.AttachedVolume.Builder setDevicePath​(String value)
         DevicePath represents the device path where the volume should be available
         
        optional string devicePath = 2;
        Parameters:
        value - The devicePath to set.
        Returns:
        This builder for chaining.
      • clearDevicePath

        public Generated.AttachedVolume.Builder clearDevicePath()
         DevicePath represents the device path where the volume should be available
         
        optional string devicePath = 2;
        Returns:
        This builder for chaining.
      • setDevicePathBytes

        public Generated.AttachedVolume.Builder setDevicePathBytes​(com.google.protobuf.ByteString value)
         DevicePath represents the device path where the volume should be available
         
        optional string devicePath = 2;
        Parameters:
        value - The bytes for devicePath to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

        public final Generated.AttachedVolume.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<Generated.AttachedVolume.Builder>