Class Generated.VolumeDevice.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.VolumeDevice.Builder>
      • clear

        public Generated.VolumeDevice.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.GeneratedMessageV3.Builder<Generated.VolumeDevice.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.VolumeDevice.Builder>
      • getDefaultInstanceForType

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

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

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

        public Generated.VolumeDevice.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeDevice.Builder>
      • clearField

        public Generated.VolumeDevice.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeDevice.Builder>
      • clearOneof

        public Generated.VolumeDevice.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeDevice.Builder>
      • setRepeatedField

        public Generated.VolumeDevice.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.VolumeDevice.Builder>
      • addRepeatedField

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

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

        public boolean hasName()
         name must match the name of a persistentVolumeClaim in the pod
         
        optional string name = 1;
        Specified by:
        hasName in interface Generated.VolumeDeviceOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         name must match the name of a persistentVolumeClaim in the pod
         
        optional string name = 1;
        Specified by:
        getNameBytes in interface Generated.VolumeDeviceOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Generated.VolumeDevice.Builder setName​(String value)
         name must match the name of a persistentVolumeClaim in the pod
         
        optional string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Generated.VolumeDevice.Builder clearName()
         name must match the name of a persistentVolumeClaim in the pod
         
        optional string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Generated.VolumeDevice.Builder setNameBytes​(com.google.protobuf.ByteString value)
         name must match the name of a persistentVolumeClaim in the pod
         
        optional string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasDevicePath

        public boolean hasDevicePath()
         devicePath is the path inside of the container that the device will be mapped to.
         
        optional string devicePath = 2;
        Specified by:
        hasDevicePath in interface Generated.VolumeDeviceOrBuilder
        Returns:
        Whether the devicePath field is set.
      • getDevicePath

        public String getDevicePath()
         devicePath is the path inside of the container that the device will be mapped to.
         
        optional string devicePath = 2;
        Specified by:
        getDevicePath in interface Generated.VolumeDeviceOrBuilder
        Returns:
        The devicePath.
      • getDevicePathBytes

        public com.google.protobuf.ByteString getDevicePathBytes()
         devicePath is the path inside of the container that the device will be mapped to.
         
        optional string devicePath = 2;
        Specified by:
        getDevicePathBytes in interface Generated.VolumeDeviceOrBuilder
        Returns:
        The bytes for devicePath.
      • setDevicePath

        public Generated.VolumeDevice.Builder setDevicePath​(String value)
         devicePath is the path inside of the container that the device will be mapped to.
         
        optional string devicePath = 2;
        Parameters:
        value - The devicePath to set.
        Returns:
        This builder for chaining.
      • clearDevicePath

        public Generated.VolumeDevice.Builder clearDevicePath()
         devicePath is the path inside of the container that the device will be mapped to.
         
        optional string devicePath = 2;
        Returns:
        This builder for chaining.
      • setDevicePathBytes

        public Generated.VolumeDevice.Builder setDevicePathBytes​(com.google.protobuf.ByteString value)
         devicePath is the path inside of the container that the device will be mapped to.
         
        optional string devicePath = 2;
        Parameters:
        value - The bytes for devicePath to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Generated.VolumeDevice.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.VolumeDevice.Builder>
      • mergeUnknownFields

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