Class V1.VolumeDevice.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeDevice.Builder>
io.kubernetes.client.proto.V1.VolumeDevice.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1.VolumeDeviceOrBuilder, Cloneable
Enclosing class:
V1.VolumeDevice

public static final class V1.VolumeDevice.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeDevice.Builder> implements V1.VolumeDeviceOrBuilder
 volumeDevice describes a mapping of a raw block device within a container.
 
Protobuf type k8s.io.api.core.v1.VolumeDevice
  • Method Details

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

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

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

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

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

      public V1.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<V1.VolumeDevice.Builder>
    • setField

      public V1.VolumeDevice.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeDevice.Builder>
    • clearField

      public V1.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<V1.VolumeDevice.Builder>
    • clearOneof

      public V1.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<V1.VolumeDevice.Builder>
    • setRepeatedField

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

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

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

      public V1.VolumeDevice.Builder mergeFrom(V1.VolumeDevice other)
    • isInitialized

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

      public V1.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<V1.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 V1.VolumeDeviceOrBuilder
    • getName

      public String getName()
       name must match the name of a persistentVolumeClaim in the pod
       
      optional string name = 1;
      Specified by:
      getName in interface V1.VolumeDeviceOrBuilder
    • 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 V1.VolumeDeviceOrBuilder
    • setName

      public V1.VolumeDevice.Builder setName(String value)
       name must match the name of a persistentVolumeClaim in the pod
       
      optional string name = 1;
    • clearName

      public V1.VolumeDevice.Builder clearName()
       name must match the name of a persistentVolumeClaim in the pod
       
      optional string name = 1;
    • setNameBytes

      public V1.VolumeDevice.Builder setNameBytes(com.google.protobuf.ByteString value)
       name must match the name of a persistentVolumeClaim in the pod
       
      optional string name = 1;
    • 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 V1.VolumeDeviceOrBuilder
    • 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 V1.VolumeDeviceOrBuilder
    • 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 V1.VolumeDeviceOrBuilder
    • setDevicePath

      public V1.VolumeDevice.Builder setDevicePath(String value)
       devicePath is the path inside of the container that the device will be mapped to.
       
      optional string devicePath = 2;
    • clearDevicePath

      public V1.VolumeDevice.Builder clearDevicePath()
       devicePath is the path inside of the container that the device will be mapped to.
       
      optional string devicePath = 2;
    • setDevicePathBytes

      public V1.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;
    • setUnknownFields

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

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