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

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

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

        public Generated.ProjectedVolumeSource 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.ProjectedVolumeSource.Builder>
      • getSourcesCount

        public int getSourcesCount()
         sources is the list of volume projections. Each entry in this list
         handles one source.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.VolumeProjection sources = 1;
        Specified by:
        getSourcesCount in interface Generated.ProjectedVolumeSourceOrBuilder
      • clearSources

        public Generated.ProjectedVolumeSource.Builder clearSources()
         sources is the list of volume projections. Each entry in this list
         handles one source.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.VolumeProjection sources = 1;
      • removeSources

        public Generated.ProjectedVolumeSource.Builder removeSources​(int index)
         sources is the list of volume projections. Each entry in this list
         handles one source.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.VolumeProjection sources = 1;
      • getSourcesBuilder

        public Generated.VolumeProjection.Builder getSourcesBuilder​(int index)
         sources is the list of volume projections. Each entry in this list
         handles one source.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.VolumeProjection sources = 1;
      • addSourcesBuilder

        public Generated.VolumeProjection.Builder addSourcesBuilder()
         sources is the list of volume projections. Each entry in this list
         handles one source.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.VolumeProjection sources = 1;
      • addSourcesBuilder

        public Generated.VolumeProjection.Builder addSourcesBuilder​(int index)
         sources is the list of volume projections. Each entry in this list
         handles one source.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.VolumeProjection sources = 1;
      • getSourcesBuilderList

        public List<Generated.VolumeProjection.Builder> getSourcesBuilderList()
         sources is the list of volume projections. Each entry in this list
         handles one source.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.VolumeProjection sources = 1;
      • hasDefaultMode

        public boolean hasDefaultMode()
         defaultMode are the mode bits used to set permissions on created files by default.
         Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
         YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
         Directories within the path are not affected by this setting.
         This might be in conflict with other options that affect the file
         mode, like fsGroup, and the result can be other mode bits set.
         +optional
         
        optional int32 defaultMode = 2;
        Specified by:
        hasDefaultMode in interface Generated.ProjectedVolumeSourceOrBuilder
        Returns:
        Whether the defaultMode field is set.
      • getDefaultMode

        public int getDefaultMode()
         defaultMode are the mode bits used to set permissions on created files by default.
         Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
         YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
         Directories within the path are not affected by this setting.
         This might be in conflict with other options that affect the file
         mode, like fsGroup, and the result can be other mode bits set.
         +optional
         
        optional int32 defaultMode = 2;
        Specified by:
        getDefaultMode in interface Generated.ProjectedVolumeSourceOrBuilder
        Returns:
        The defaultMode.
      • setDefaultMode

        public Generated.ProjectedVolumeSource.Builder setDefaultMode​(int value)
         defaultMode are the mode bits used to set permissions on created files by default.
         Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
         YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
         Directories within the path are not affected by this setting.
         This might be in conflict with other options that affect the file
         mode, like fsGroup, and the result can be other mode bits set.
         +optional
         
        optional int32 defaultMode = 2;
        Parameters:
        value - The defaultMode to set.
        Returns:
        This builder for chaining.
      • clearDefaultMode

        public Generated.ProjectedVolumeSource.Builder clearDefaultMode()
         defaultMode are the mode bits used to set permissions on created files by default.
         Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
         YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
         Directories within the path are not affected by this setting.
         This might be in conflict with other options that affect the file
         mode, like fsGroup, and the result can be other mode bits set.
         +optional
         
        optional int32 defaultMode = 2;
        Returns:
        This builder for chaining.