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

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

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

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

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

        public boolean hasUid()
         UID is the primary uid initially attached to the first process in the container
         
        optional int64 uid = 1;
        Specified by:
        hasUid in interface Generated.LinuxContainerUserOrBuilder
        Returns:
        Whether the uid field is set.
      • getUid

        public long getUid()
         UID is the primary uid initially attached to the first process in the container
         
        optional int64 uid = 1;
        Specified by:
        getUid in interface Generated.LinuxContainerUserOrBuilder
        Returns:
        The uid.
      • setUid

        public Generated.LinuxContainerUser.Builder setUid​(long value)
         UID is the primary uid initially attached to the first process in the container
         
        optional int64 uid = 1;
        Parameters:
        value - The uid to set.
        Returns:
        This builder for chaining.
      • clearUid

        public Generated.LinuxContainerUser.Builder clearUid()
         UID is the primary uid initially attached to the first process in the container
         
        optional int64 uid = 1;
        Returns:
        This builder for chaining.
      • hasGid

        public boolean hasGid()
         GID is the primary gid initially attached to the first process in the container
         
        optional int64 gid = 2;
        Specified by:
        hasGid in interface Generated.LinuxContainerUserOrBuilder
        Returns:
        Whether the gid field is set.
      • getGid

        public long getGid()
         GID is the primary gid initially attached to the first process in the container
         
        optional int64 gid = 2;
        Specified by:
        getGid in interface Generated.LinuxContainerUserOrBuilder
        Returns:
        The gid.
      • setGid

        public Generated.LinuxContainerUser.Builder setGid​(long value)
         GID is the primary gid initially attached to the first process in the container
         
        optional int64 gid = 2;
        Parameters:
        value - The gid to set.
        Returns:
        This builder for chaining.
      • clearGid

        public Generated.LinuxContainerUser.Builder clearGid()
         GID is the primary gid initially attached to the first process in the container
         
        optional int64 gid = 2;
        Returns:
        This builder for chaining.
      • getSupplementalGroupsList

        public List<Long> getSupplementalGroupsList()
         SupplementalGroups are the supplemental groups initially attached to the first process in the container
         +optional
         +listType=atomic
         
        repeated int64 supplementalGroups = 3;
        Specified by:
        getSupplementalGroupsList in interface Generated.LinuxContainerUserOrBuilder
        Returns:
        A list containing the supplementalGroups.
      • getSupplementalGroupsCount

        public int getSupplementalGroupsCount()
         SupplementalGroups are the supplemental groups initially attached to the first process in the container
         +optional
         +listType=atomic
         
        repeated int64 supplementalGroups = 3;
        Specified by:
        getSupplementalGroupsCount in interface Generated.LinuxContainerUserOrBuilder
        Returns:
        The count of supplementalGroups.
      • getSupplementalGroups

        public long getSupplementalGroups​(int index)
         SupplementalGroups are the supplemental groups initially attached to the first process in the container
         +optional
         +listType=atomic
         
        repeated int64 supplementalGroups = 3;
        Specified by:
        getSupplementalGroups in interface Generated.LinuxContainerUserOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The supplementalGroups at the given index.
      • setSupplementalGroups

        public Generated.LinuxContainerUser.Builder setSupplementalGroups​(int index,
                                                                          long value)
         SupplementalGroups are the supplemental groups initially attached to the first process in the container
         +optional
         +listType=atomic
         
        repeated int64 supplementalGroups = 3;
        Parameters:
        index - The index to set the value at.
        value - The supplementalGroups to set.
        Returns:
        This builder for chaining.
      • addSupplementalGroups

        public Generated.LinuxContainerUser.Builder addSupplementalGroups​(long value)
         SupplementalGroups are the supplemental groups initially attached to the first process in the container
         +optional
         +listType=atomic
         
        repeated int64 supplementalGroups = 3;
        Parameters:
        value - The supplementalGroups to add.
        Returns:
        This builder for chaining.
      • addAllSupplementalGroups

        public Generated.LinuxContainerUser.Builder addAllSupplementalGroups​(Iterable<? extends Long> values)
         SupplementalGroups are the supplemental groups initially attached to the first process in the container
         +optional
         +listType=atomic
         
        repeated int64 supplementalGroups = 3;
        Parameters:
        values - The supplementalGroups to add.
        Returns:
        This builder for chaining.
      • clearSupplementalGroups

        public Generated.LinuxContainerUser.Builder clearSupplementalGroups()
         SupplementalGroups are the supplemental groups initially attached to the first process in the container
         +optional
         +listType=atomic
         
        repeated int64 supplementalGroups = 3;
        Returns:
        This builder for chaining.