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

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

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

        public Generated.HostPathVolumeSource 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<Generated.HostPathVolumeSource.Builder>
      • hasPath

        public boolean hasPath()
         path of the directory on the host.
         If the path is a symlink, it will follow the link to the real path.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         
        optional string path = 1;
        Specified by:
        hasPath in interface Generated.HostPathVolumeSourceOrBuilder
        Returns:
        Whether the path field is set.
      • getPath

        public String getPath()
         path of the directory on the host.
         If the path is a symlink, it will follow the link to the real path.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         
        optional string path = 1;
        Specified by:
        getPath in interface Generated.HostPathVolumeSourceOrBuilder
        Returns:
        The path.
      • getPathBytes

        public com.google.protobuf.ByteString getPathBytes()
         path of the directory on the host.
         If the path is a symlink, it will follow the link to the real path.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         
        optional string path = 1;
        Specified by:
        getPathBytes in interface Generated.HostPathVolumeSourceOrBuilder
        Returns:
        The bytes for path.
      • setPath

        public Generated.HostPathVolumeSource.Builder setPath​(String value)
         path of the directory on the host.
         If the path is a symlink, it will follow the link to the real path.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         
        optional string path = 1;
        Parameters:
        value - The path to set.
        Returns:
        This builder for chaining.
      • clearPath

        public Generated.HostPathVolumeSource.Builder clearPath()
         path of the directory on the host.
         If the path is a symlink, it will follow the link to the real path.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         
        optional string path = 1;
        Returns:
        This builder for chaining.
      • setPathBytes

        public Generated.HostPathVolumeSource.Builder setPathBytes​(com.google.protobuf.ByteString value)
         path of the directory on the host.
         If the path is a symlink, it will follow the link to the real path.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         
        optional string path = 1;
        Parameters:
        value - The bytes for path to set.
        Returns:
        This builder for chaining.
      • hasType

        public boolean hasType()
         type for HostPath Volume
         Defaults to ""
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         +optional
         
        optional string type = 2;
        Specified by:
        hasType in interface Generated.HostPathVolumeSourceOrBuilder
        Returns:
        Whether the type field is set.
      • getType

        public String getType()
         type for HostPath Volume
         Defaults to ""
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         +optional
         
        optional string type = 2;
        Specified by:
        getType in interface Generated.HostPathVolumeSourceOrBuilder
        Returns:
        The type.
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
         type for HostPath Volume
         Defaults to ""
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         +optional
         
        optional string type = 2;
        Specified by:
        getTypeBytes in interface Generated.HostPathVolumeSourceOrBuilder
        Returns:
        The bytes for type.
      • setType

        public Generated.HostPathVolumeSource.Builder setType​(String value)
         type for HostPath Volume
         Defaults to ""
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         +optional
         
        optional string type = 2;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public Generated.HostPathVolumeSource.Builder clearType()
         type for HostPath Volume
         Defaults to ""
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         +optional
         
        optional string type = 2;
        Returns:
        This builder for chaining.
      • setTypeBytes

        public Generated.HostPathVolumeSource.Builder setTypeBytes​(com.google.protobuf.ByteString value)
         type for HostPath Volume
         Defaults to ""
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         +optional
         
        optional string type = 2;
        Parameters:
        value - The bytes for type to set.
        Returns:
        This builder for chaining.