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

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

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

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

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

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

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

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

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

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

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

        public com.google.protobuf.ProtocolStringList getDryRunList()
         When present, indicates that modifications should not be
         persisted. An invalid or unrecognized dryRun directive will
         result in an error response and no further processing of the
         request. Valid values are:
         - All: all dry run stages will be processed
         +optional
         +listType=atomic
         
        repeated string dryRun = 1;
        Specified by:
        getDryRunList in interface Generated.CreateOptionsOrBuilder
        Returns:
        A list containing the dryRun.
      • getDryRunCount

        public int getDryRunCount()
         When present, indicates that modifications should not be
         persisted. An invalid or unrecognized dryRun directive will
         result in an error response and no further processing of the
         request. Valid values are:
         - All: all dry run stages will be processed
         +optional
         +listType=atomic
         
        repeated string dryRun = 1;
        Specified by:
        getDryRunCount in interface Generated.CreateOptionsOrBuilder
        Returns:
        The count of dryRun.
      • getDryRun

        public String getDryRun​(int index)
         When present, indicates that modifications should not be
         persisted. An invalid or unrecognized dryRun directive will
         result in an error response and no further processing of the
         request. Valid values are:
         - All: all dry run stages will be processed
         +optional
         +listType=atomic
         
        repeated string dryRun = 1;
        Specified by:
        getDryRun in interface Generated.CreateOptionsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The dryRun at the given index.
      • getDryRunBytes

        public com.google.protobuf.ByteString getDryRunBytes​(int index)
         When present, indicates that modifications should not be
         persisted. An invalid or unrecognized dryRun directive will
         result in an error response and no further processing of the
         request. Valid values are:
         - All: all dry run stages will be processed
         +optional
         +listType=atomic
         
        repeated string dryRun = 1;
        Specified by:
        getDryRunBytes in interface Generated.CreateOptionsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the dryRun at the given index.
      • setDryRun

        public Generated.CreateOptions.Builder setDryRun​(int index,
                                                         String value)
         When present, indicates that modifications should not be
         persisted. An invalid or unrecognized dryRun directive will
         result in an error response and no further processing of the
         request. Valid values are:
         - All: all dry run stages will be processed
         +optional
         +listType=atomic
         
        repeated string dryRun = 1;
        Parameters:
        index - The index to set the value at.
        value - The dryRun to set.
        Returns:
        This builder for chaining.
      • addDryRun

        public Generated.CreateOptions.Builder addDryRun​(String value)
         When present, indicates that modifications should not be
         persisted. An invalid or unrecognized dryRun directive will
         result in an error response and no further processing of the
         request. Valid values are:
         - All: all dry run stages will be processed
         +optional
         +listType=atomic
         
        repeated string dryRun = 1;
        Parameters:
        value - The dryRun to add.
        Returns:
        This builder for chaining.
      • addAllDryRun

        public Generated.CreateOptions.Builder addAllDryRun​(Iterable<String> values)
         When present, indicates that modifications should not be
         persisted. An invalid or unrecognized dryRun directive will
         result in an error response and no further processing of the
         request. Valid values are:
         - All: all dry run stages will be processed
         +optional
         +listType=atomic
         
        repeated string dryRun = 1;
        Parameters:
        values - The dryRun to add.
        Returns:
        This builder for chaining.
      • clearDryRun

        public Generated.CreateOptions.Builder clearDryRun()
         When present, indicates that modifications should not be
         persisted. An invalid or unrecognized dryRun directive will
         result in an error response and no further processing of the
         request. Valid values are:
         - All: all dry run stages will be processed
         +optional
         +listType=atomic
         
        repeated string dryRun = 1;
        Returns:
        This builder for chaining.
      • addDryRunBytes

        public Generated.CreateOptions.Builder addDryRunBytes​(com.google.protobuf.ByteString value)
         When present, indicates that modifications should not be
         persisted. An invalid or unrecognized dryRun directive will
         result in an error response and no further processing of the
         request. Valid values are:
         - All: all dry run stages will be processed
         +optional
         +listType=atomic
         
        repeated string dryRun = 1;
        Parameters:
        value - The bytes of the dryRun to add.
        Returns:
        This builder for chaining.
      • hasFieldManager

        public boolean hasFieldManager()
         fieldManager is a name associated with the actor or entity
         that is making these changes. The value must be less than or
         128 characters long, and only contain printable characters,
         as defined by https://golang.org/pkg/unicode/#IsPrint.
         +optional
         
        optional string fieldManager = 3;
        Specified by:
        hasFieldManager in interface Generated.CreateOptionsOrBuilder
        Returns:
        Whether the fieldManager field is set.
      • getFieldManager

        public String getFieldManager()
         fieldManager is a name associated with the actor or entity
         that is making these changes. The value must be less than or
         128 characters long, and only contain printable characters,
         as defined by https://golang.org/pkg/unicode/#IsPrint.
         +optional
         
        optional string fieldManager = 3;
        Specified by:
        getFieldManager in interface Generated.CreateOptionsOrBuilder
        Returns:
        The fieldManager.
      • getFieldManagerBytes

        public com.google.protobuf.ByteString getFieldManagerBytes()
         fieldManager is a name associated with the actor or entity
         that is making these changes. The value must be less than or
         128 characters long, and only contain printable characters,
         as defined by https://golang.org/pkg/unicode/#IsPrint.
         +optional
         
        optional string fieldManager = 3;
        Specified by:
        getFieldManagerBytes in interface Generated.CreateOptionsOrBuilder
        Returns:
        The bytes for fieldManager.
      • setFieldManager

        public Generated.CreateOptions.Builder setFieldManager​(String value)
         fieldManager is a name associated with the actor or entity
         that is making these changes. The value must be less than or
         128 characters long, and only contain printable characters,
         as defined by https://golang.org/pkg/unicode/#IsPrint.
         +optional
         
        optional string fieldManager = 3;
        Parameters:
        value - The fieldManager to set.
        Returns:
        This builder for chaining.
      • clearFieldManager

        public Generated.CreateOptions.Builder clearFieldManager()
         fieldManager is a name associated with the actor or entity
         that is making these changes. The value must be less than or
         128 characters long, and only contain printable characters,
         as defined by https://golang.org/pkg/unicode/#IsPrint.
         +optional
         
        optional string fieldManager = 3;
        Returns:
        This builder for chaining.
      • setFieldManagerBytes

        public Generated.CreateOptions.Builder setFieldManagerBytes​(com.google.protobuf.ByteString value)
         fieldManager is a name associated with the actor or entity
         that is making these changes. The value must be less than or
         128 characters long, and only contain printable characters,
         as defined by https://golang.org/pkg/unicode/#IsPrint.
         +optional
         
        optional string fieldManager = 3;
        Parameters:
        value - The bytes for fieldManager to set.
        Returns:
        This builder for chaining.
      • hasFieldValidation

        public boolean hasFieldValidation()
         fieldValidation instructs the server on how to handle
         objects in the request (POST/PUT/PATCH) containing unknown
         or duplicate fields. Valid values are:
         - Ignore: This will ignore any unknown fields that are silently
         dropped from the object, and will ignore all but the last duplicate
         field that the decoder encounters. This is the default behavior
         prior to v1.23.
         - Warn: This will send a warning via the standard warning response
         header for each unknown field that is dropped from the object, and
         for each duplicate field that is encountered. The request will
         still succeed if there are no other errors, and will only persist
         the last of any duplicate fields. This is the default in v1.23+
         - Strict: This will fail the request with a BadRequest error if
         any unknown fields would be dropped from the object, or if any
         duplicate fields are present. The error returned from the server
         will contain all unknown and duplicate fields encountered.
         +optional
         
        optional string fieldValidation = 4;
        Specified by:
        hasFieldValidation in interface Generated.CreateOptionsOrBuilder
        Returns:
        Whether the fieldValidation field is set.
      • getFieldValidation

        public String getFieldValidation()
         fieldValidation instructs the server on how to handle
         objects in the request (POST/PUT/PATCH) containing unknown
         or duplicate fields. Valid values are:
         - Ignore: This will ignore any unknown fields that are silently
         dropped from the object, and will ignore all but the last duplicate
         field that the decoder encounters. This is the default behavior
         prior to v1.23.
         - Warn: This will send a warning via the standard warning response
         header for each unknown field that is dropped from the object, and
         for each duplicate field that is encountered. The request will
         still succeed if there are no other errors, and will only persist
         the last of any duplicate fields. This is the default in v1.23+
         - Strict: This will fail the request with a BadRequest error if
         any unknown fields would be dropped from the object, or if any
         duplicate fields are present. The error returned from the server
         will contain all unknown and duplicate fields encountered.
         +optional
         
        optional string fieldValidation = 4;
        Specified by:
        getFieldValidation in interface Generated.CreateOptionsOrBuilder
        Returns:
        The fieldValidation.
      • getFieldValidationBytes

        public com.google.protobuf.ByteString getFieldValidationBytes()
         fieldValidation instructs the server on how to handle
         objects in the request (POST/PUT/PATCH) containing unknown
         or duplicate fields. Valid values are:
         - Ignore: This will ignore any unknown fields that are silently
         dropped from the object, and will ignore all but the last duplicate
         field that the decoder encounters. This is the default behavior
         prior to v1.23.
         - Warn: This will send a warning via the standard warning response
         header for each unknown field that is dropped from the object, and
         for each duplicate field that is encountered. The request will
         still succeed if there are no other errors, and will only persist
         the last of any duplicate fields. This is the default in v1.23+
         - Strict: This will fail the request with a BadRequest error if
         any unknown fields would be dropped from the object, or if any
         duplicate fields are present. The error returned from the server
         will contain all unknown and duplicate fields encountered.
         +optional
         
        optional string fieldValidation = 4;
        Specified by:
        getFieldValidationBytes in interface Generated.CreateOptionsOrBuilder
        Returns:
        The bytes for fieldValidation.
      • setFieldValidation

        public Generated.CreateOptions.Builder setFieldValidation​(String value)
         fieldValidation instructs the server on how to handle
         objects in the request (POST/PUT/PATCH) containing unknown
         or duplicate fields. Valid values are:
         - Ignore: This will ignore any unknown fields that are silently
         dropped from the object, and will ignore all but the last duplicate
         field that the decoder encounters. This is the default behavior
         prior to v1.23.
         - Warn: This will send a warning via the standard warning response
         header for each unknown field that is dropped from the object, and
         for each duplicate field that is encountered. The request will
         still succeed if there are no other errors, and will only persist
         the last of any duplicate fields. This is the default in v1.23+
         - Strict: This will fail the request with a BadRequest error if
         any unknown fields would be dropped from the object, or if any
         duplicate fields are present. The error returned from the server
         will contain all unknown and duplicate fields encountered.
         +optional
         
        optional string fieldValidation = 4;
        Parameters:
        value - The fieldValidation to set.
        Returns:
        This builder for chaining.
      • clearFieldValidation

        public Generated.CreateOptions.Builder clearFieldValidation()
         fieldValidation instructs the server on how to handle
         objects in the request (POST/PUT/PATCH) containing unknown
         or duplicate fields. Valid values are:
         - Ignore: This will ignore any unknown fields that are silently
         dropped from the object, and will ignore all but the last duplicate
         field that the decoder encounters. This is the default behavior
         prior to v1.23.
         - Warn: This will send a warning via the standard warning response
         header for each unknown field that is dropped from the object, and
         for each duplicate field that is encountered. The request will
         still succeed if there are no other errors, and will only persist
         the last of any duplicate fields. This is the default in v1.23+
         - Strict: This will fail the request with a BadRequest error if
         any unknown fields would be dropped from the object, or if any
         duplicate fields are present. The error returned from the server
         will contain all unknown and duplicate fields encountered.
         +optional
         
        optional string fieldValidation = 4;
        Returns:
        This builder for chaining.
      • setFieldValidationBytes

        public Generated.CreateOptions.Builder setFieldValidationBytes​(com.google.protobuf.ByteString value)
         fieldValidation instructs the server on how to handle
         objects in the request (POST/PUT/PATCH) containing unknown
         or duplicate fields. Valid values are:
         - Ignore: This will ignore any unknown fields that are silently
         dropped from the object, and will ignore all but the last duplicate
         field that the decoder encounters. This is the default behavior
         prior to v1.23.
         - Warn: This will send a warning via the standard warning response
         header for each unknown field that is dropped from the object, and
         for each duplicate field that is encountered. The request will
         still succeed if there are no other errors, and will only persist
         the last of any duplicate fields. This is the default in v1.23+
         - Strict: This will fail the request with a BadRequest error if
         any unknown fields would be dropped from the object, or if any
         duplicate fields are present. The error returned from the server
         will contain all unknown and duplicate fields encountered.
         +optional
         
        optional string fieldValidation = 4;
        Parameters:
        value - The bytes for fieldValidation to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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