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

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

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

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

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

        public Generated.KeyToPath.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.KeyToPath.Builder>
      • setField

        public Generated.KeyToPath.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<Generated.KeyToPath.Builder>
      • clearField

        public Generated.KeyToPath.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.KeyToPath.Builder>
      • clearOneof

        public Generated.KeyToPath.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.KeyToPath.Builder>
      • setRepeatedField

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

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

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

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

        public boolean hasKey()
         key is the key to project.
         
        optional string key = 1;
        Specified by:
        hasKey in interface Generated.KeyToPathOrBuilder
        Returns:
        Whether the key field is set.
      • getKeyBytes

        public com.google.protobuf.ByteString getKeyBytes()
         key is the key to project.
         
        optional string key = 1;
        Specified by:
        getKeyBytes in interface Generated.KeyToPathOrBuilder
        Returns:
        The bytes for key.
      • setKey

        public Generated.KeyToPath.Builder setKey​(String value)
         key is the key to project.
         
        optional string key = 1;
        Parameters:
        value - The key to set.
        Returns:
        This builder for chaining.
      • clearKey

        public Generated.KeyToPath.Builder clearKey()
         key is the key to project.
         
        optional string key = 1;
        Returns:
        This builder for chaining.
      • setKeyBytes

        public Generated.KeyToPath.Builder setKeyBytes​(com.google.protobuf.ByteString value)
         key is the key to project.
         
        optional string key = 1;
        Parameters:
        value - The bytes for key to set.
        Returns:
        This builder for chaining.
      • hasPath

        public boolean hasPath()
         path is the relative path of the file to map the key to.
         May not be an absolute path.
         May not contain the path element '..'.
         May not start with the string '..'.
         
        optional string path = 2;
        Specified by:
        hasPath in interface Generated.KeyToPathOrBuilder
        Returns:
        Whether the path field is set.
      • getPath

        public String getPath()
         path is the relative path of the file to map the key to.
         May not be an absolute path.
         May not contain the path element '..'.
         May not start with the string '..'.
         
        optional string path = 2;
        Specified by:
        getPath in interface Generated.KeyToPathOrBuilder
        Returns:
        The path.
      • getPathBytes

        public com.google.protobuf.ByteString getPathBytes()
         path is the relative path of the file to map the key to.
         May not be an absolute path.
         May not contain the path element '..'.
         May not start with the string '..'.
         
        optional string path = 2;
        Specified by:
        getPathBytes in interface Generated.KeyToPathOrBuilder
        Returns:
        The bytes for path.
      • setPath

        public Generated.KeyToPath.Builder setPath​(String value)
         path is the relative path of the file to map the key to.
         May not be an absolute path.
         May not contain the path element '..'.
         May not start with the string '..'.
         
        optional string path = 2;
        Parameters:
        value - The path to set.
        Returns:
        This builder for chaining.
      • clearPath

        public Generated.KeyToPath.Builder clearPath()
         path is the relative path of the file to map the key to.
         May not be an absolute path.
         May not contain the path element '..'.
         May not start with the string '..'.
         
        optional string path = 2;
        Returns:
        This builder for chaining.
      • setPathBytes

        public Generated.KeyToPath.Builder setPathBytes​(com.google.protobuf.ByteString value)
         path is the relative path of the file to map the key to.
         May not be an absolute path.
         May not contain the path element '..'.
         May not start with the string '..'.
         
        optional string path = 2;
        Parameters:
        value - The bytes for path to set.
        Returns:
        This builder for chaining.
      • hasMode

        public boolean hasMode()
         mode is Optional: mode bits used to set permissions on this file.
         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.
         If not specified, the volume defaultMode will be used.
         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 mode = 3;
        Specified by:
        hasMode in interface Generated.KeyToPathOrBuilder
        Returns:
        Whether the mode field is set.
      • getMode

        public int getMode()
         mode is Optional: mode bits used to set permissions on this file.
         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.
         If not specified, the volume defaultMode will be used.
         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 mode = 3;
        Specified by:
        getMode in interface Generated.KeyToPathOrBuilder
        Returns:
        The mode.
      • setMode

        public Generated.KeyToPath.Builder setMode​(int value)
         mode is Optional: mode bits used to set permissions on this file.
         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.
         If not specified, the volume defaultMode will be used.
         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 mode = 3;
        Parameters:
        value - The mode to set.
        Returns:
        This builder for chaining.
      • clearMode

        public Generated.KeyToPath.Builder clearMode()
         mode is Optional: mode bits used to set permissions on this file.
         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.
         If not specified, the volume defaultMode will be used.
         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 mode = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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