Class Operation.Builder

  • All Implemented Interfaces:
    OperationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Operation

    public static final class Operation.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
    implements OperationOrBuilder
     Contains an operation for a resource loosely based on the JSON-PATCH format
     with support for:
    
     * Custom filters for describing partial array patch.
     * Extended path values for describing nested arrays.
     * Custom fields for describing the resource for which the operation is being
       described.
     * Allows extension to custom operations not natively supported by RFC6902.
     See https://tools.ietf.org/html/rfc6902 for details on the original RFC.
     
    Protobuf type google.cloud.recommender.v1beta1.Operation
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

        public Operation.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<Operation.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
      • mergeFrom

        public Operation.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<Operation.Builder>
        Throws:
        IOException
      • getAction

        public String getAction()
         Type of this operation. Contains one of 'add', 'remove', 'replace', 'move',
         'copy', 'test' and 'custom' operations. This field is case-insensitive and
         always populated.
         
        string action = 1;
        Specified by:
        getAction in interface OperationOrBuilder
        Returns:
        The action.
      • getActionBytes

        public com.google.protobuf.ByteString getActionBytes()
         Type of this operation. Contains one of 'add', 'remove', 'replace', 'move',
         'copy', 'test' and 'custom' operations. This field is case-insensitive and
         always populated.
         
        string action = 1;
        Specified by:
        getActionBytes in interface OperationOrBuilder
        Returns:
        The bytes for action.
      • setAction

        public Operation.Builder setAction​(String value)
         Type of this operation. Contains one of 'add', 'remove', 'replace', 'move',
         'copy', 'test' and 'custom' operations. This field is case-insensitive and
         always populated.
         
        string action = 1;
        Parameters:
        value - The action to set.
        Returns:
        This builder for chaining.
      • clearAction

        public Operation.Builder clearAction()
         Type of this operation. Contains one of 'add', 'remove', 'replace', 'move',
         'copy', 'test' and 'custom' operations. This field is case-insensitive and
         always populated.
         
        string action = 1;
        Returns:
        This builder for chaining.
      • setActionBytes

        public Operation.Builder setActionBytes​(com.google.protobuf.ByteString value)
         Type of this operation. Contains one of 'add', 'remove', 'replace', 'move',
         'copy', 'test' and 'custom' operations. This field is case-insensitive and
         always populated.
         
        string action = 1;
        Parameters:
        value - The bytes for action to set.
        Returns:
        This builder for chaining.
      • getResourceType

        public String getResourceType()
         Type of GCP resource being modified/tested. This field is always populated.
         Example: cloudresourcemanager.googleapis.com/Project,
         compute.googleapis.com/Instance
         
        string resource_type = 2;
        Specified by:
        getResourceType in interface OperationOrBuilder
        Returns:
        The resourceType.
      • getResourceTypeBytes

        public com.google.protobuf.ByteString getResourceTypeBytes()
         Type of GCP resource being modified/tested. This field is always populated.
         Example: cloudresourcemanager.googleapis.com/Project,
         compute.googleapis.com/Instance
         
        string resource_type = 2;
        Specified by:
        getResourceTypeBytes in interface OperationOrBuilder
        Returns:
        The bytes for resourceType.
      • setResourceType

        public Operation.Builder setResourceType​(String value)
         Type of GCP resource being modified/tested. This field is always populated.
         Example: cloudresourcemanager.googleapis.com/Project,
         compute.googleapis.com/Instance
         
        string resource_type = 2;
        Parameters:
        value - The resourceType to set.
        Returns:
        This builder for chaining.
      • clearResourceType

        public Operation.Builder clearResourceType()
         Type of GCP resource being modified/tested. This field is always populated.
         Example: cloudresourcemanager.googleapis.com/Project,
         compute.googleapis.com/Instance
         
        string resource_type = 2;
        Returns:
        This builder for chaining.
      • setResourceTypeBytes

        public Operation.Builder setResourceTypeBytes​(com.google.protobuf.ByteString value)
         Type of GCP resource being modified/tested. This field is always populated.
         Example: cloudresourcemanager.googleapis.com/Project,
         compute.googleapis.com/Instance
         
        string resource_type = 2;
        Parameters:
        value - The bytes for resourceType to set.
        Returns:
        This builder for chaining.
      • getResource

        public String getResource()
         Contains the fully qualified resource name. This field is always populated.
         ex: //cloudresourcemanager.googleapis.com/projects/foo.
         
        string resource = 3;
        Specified by:
        getResource in interface OperationOrBuilder
        Returns:
        The resource.
      • getResourceBytes

        public com.google.protobuf.ByteString getResourceBytes()
         Contains the fully qualified resource name. This field is always populated.
         ex: //cloudresourcemanager.googleapis.com/projects/foo.
         
        string resource = 3;
        Specified by:
        getResourceBytes in interface OperationOrBuilder
        Returns:
        The bytes for resource.
      • setResource

        public Operation.Builder setResource​(String value)
         Contains the fully qualified resource name. This field is always populated.
         ex: //cloudresourcemanager.googleapis.com/projects/foo.
         
        string resource = 3;
        Parameters:
        value - The resource to set.
        Returns:
        This builder for chaining.
      • clearResource

        public Operation.Builder clearResource()
         Contains the fully qualified resource name. This field is always populated.
         ex: //cloudresourcemanager.googleapis.com/projects/foo.
         
        string resource = 3;
        Returns:
        This builder for chaining.
      • setResourceBytes

        public Operation.Builder setResourceBytes​(com.google.protobuf.ByteString value)
         Contains the fully qualified resource name. This field is always populated.
         ex: //cloudresourcemanager.googleapis.com/projects/foo.
         
        string resource = 3;
        Parameters:
        value - The bytes for resource to set.
        Returns:
        This builder for chaining.
      • getPath

        public String getPath()
         Path to the target field being operated on. If the operation is at the
         resource level, then path should be "/". This field is always populated.
         
        string path = 4;
        Specified by:
        getPath in interface OperationOrBuilder
        Returns:
        The path.
      • getPathBytes

        public com.google.protobuf.ByteString getPathBytes()
         Path to the target field being operated on. If the operation is at the
         resource level, then path should be "/". This field is always populated.
         
        string path = 4;
        Specified by:
        getPathBytes in interface OperationOrBuilder
        Returns:
        The bytes for path.
      • setPath

        public Operation.Builder setPath​(String value)
         Path to the target field being operated on. If the operation is at the
         resource level, then path should be "/". This field is always populated.
         
        string path = 4;
        Parameters:
        value - The path to set.
        Returns:
        This builder for chaining.
      • clearPath

        public Operation.Builder clearPath()
         Path to the target field being operated on. If the operation is at the
         resource level, then path should be "/". This field is always populated.
         
        string path = 4;
        Returns:
        This builder for chaining.
      • setPathBytes

        public Operation.Builder setPathBytes​(com.google.protobuf.ByteString value)
         Path to the target field being operated on. If the operation is at the
         resource level, then path should be "/". This field is always populated.
         
        string path = 4;
        Parameters:
        value - The bytes for path to set.
        Returns:
        This builder for chaining.
      • getSourceResource

        public String getSourceResource()
         Can be set with action 'copy' to copy resource configuration across
         different resources of the same type. Example: A resource clone can be
         done via action = 'copy', path = "/", from = "/",
         source_resource = <source> and resource_name = <target>.
         This field is empty for all other values of `action`.
         
        string source_resource = 5;
        Specified by:
        getSourceResource in interface OperationOrBuilder
        Returns:
        The sourceResource.
      • getSourceResourceBytes

        public com.google.protobuf.ByteString getSourceResourceBytes()
         Can be set with action 'copy' to copy resource configuration across
         different resources of the same type. Example: A resource clone can be
         done via action = 'copy', path = "/", from = "/",
         source_resource = <source> and resource_name = <target>.
         This field is empty for all other values of `action`.
         
        string source_resource = 5;
        Specified by:
        getSourceResourceBytes in interface OperationOrBuilder
        Returns:
        The bytes for sourceResource.
      • setSourceResource

        public Operation.Builder setSourceResource​(String value)
         Can be set with action 'copy' to copy resource configuration across
         different resources of the same type. Example: A resource clone can be
         done via action = 'copy', path = "/", from = "/",
         source_resource = <source> and resource_name = <target>.
         This field is empty for all other values of `action`.
         
        string source_resource = 5;
        Parameters:
        value - The sourceResource to set.
        Returns:
        This builder for chaining.
      • clearSourceResource

        public Operation.Builder clearSourceResource()
         Can be set with action 'copy' to copy resource configuration across
         different resources of the same type. Example: A resource clone can be
         done via action = 'copy', path = "/", from = "/",
         source_resource = <source> and resource_name = <target>.
         This field is empty for all other values of `action`.
         
        string source_resource = 5;
        Returns:
        This builder for chaining.
      • setSourceResourceBytes

        public Operation.Builder setSourceResourceBytes​(com.google.protobuf.ByteString value)
         Can be set with action 'copy' to copy resource configuration across
         different resources of the same type. Example: A resource clone can be
         done via action = 'copy', path = "/", from = "/",
         source_resource = <source> and resource_name = <target>.
         This field is empty for all other values of `action`.
         
        string source_resource = 5;
        Parameters:
        value - The bytes for sourceResource to set.
        Returns:
        This builder for chaining.
      • getSourcePath

        public String getSourcePath()
         Can be set with action 'copy' or 'move' to indicate the source field within
         resource or source_resource, ignored if provided for other operation types.
         
        string source_path = 6;
        Specified by:
        getSourcePath in interface OperationOrBuilder
        Returns:
        The sourcePath.
      • getSourcePathBytes

        public com.google.protobuf.ByteString getSourcePathBytes()
         Can be set with action 'copy' or 'move' to indicate the source field within
         resource or source_resource, ignored if provided for other operation types.
         
        string source_path = 6;
        Specified by:
        getSourcePathBytes in interface OperationOrBuilder
        Returns:
        The bytes for sourcePath.
      • setSourcePath

        public Operation.Builder setSourcePath​(String value)
         Can be set with action 'copy' or 'move' to indicate the source field within
         resource or source_resource, ignored if provided for other operation types.
         
        string source_path = 6;
        Parameters:
        value - The sourcePath to set.
        Returns:
        This builder for chaining.
      • clearSourcePath

        public Operation.Builder clearSourcePath()
         Can be set with action 'copy' or 'move' to indicate the source field within
         resource or source_resource, ignored if provided for other operation types.
         
        string source_path = 6;
        Returns:
        This builder for chaining.
      • setSourcePathBytes

        public Operation.Builder setSourcePathBytes​(com.google.protobuf.ByteString value)
         Can be set with action 'copy' or 'move' to indicate the source field within
         resource or source_resource, ignored if provided for other operation types.
         
        string source_path = 6;
        Parameters:
        value - The bytes for sourcePath to set.
        Returns:
        This builder for chaining.
      • hasValue

        public boolean hasValue()
         Value for the `path` field. Will be set for actions:'add'/'replace'.
         Maybe set for action: 'test'. Either this or `value_matcher` will be set
         for 'test' operation. An exact match must be performed.
         
        .google.protobuf.Value value = 7;
        Specified by:
        hasValue in interface OperationOrBuilder
        Returns:
        Whether the value field is set.
      • getValue

        public com.google.protobuf.Value getValue()
         Value for the `path` field. Will be set for actions:'add'/'replace'.
         Maybe set for action: 'test'. Either this or `value_matcher` will be set
         for 'test' operation. An exact match must be performed.
         
        .google.protobuf.Value value = 7;
        Specified by:
        getValue in interface OperationOrBuilder
        Returns:
        The value.
      • setValue

        public Operation.Builder setValue​(com.google.protobuf.Value value)
         Value for the `path` field. Will be set for actions:'add'/'replace'.
         Maybe set for action: 'test'. Either this or `value_matcher` will be set
         for 'test' operation. An exact match must be performed.
         
        .google.protobuf.Value value = 7;
      • setValue

        public Operation.Builder setValue​(com.google.protobuf.Value.Builder builderForValue)
         Value for the `path` field. Will be set for actions:'add'/'replace'.
         Maybe set for action: 'test'. Either this or `value_matcher` will be set
         for 'test' operation. An exact match must be performed.
         
        .google.protobuf.Value value = 7;
      • mergeValue

        public Operation.Builder mergeValue​(com.google.protobuf.Value value)
         Value for the `path` field. Will be set for actions:'add'/'replace'.
         Maybe set for action: 'test'. Either this or `value_matcher` will be set
         for 'test' operation. An exact match must be performed.
         
        .google.protobuf.Value value = 7;
      • clearValue

        public Operation.Builder clearValue()
         Value for the `path` field. Will be set for actions:'add'/'replace'.
         Maybe set for action: 'test'. Either this or `value_matcher` will be set
         for 'test' operation. An exact match must be performed.
         
        .google.protobuf.Value value = 7;
      • getValueBuilder

        public com.google.protobuf.Value.Builder getValueBuilder()
         Value for the `path` field. Will be set for actions:'add'/'replace'.
         Maybe set for action: 'test'. Either this or `value_matcher` will be set
         for 'test' operation. An exact match must be performed.
         
        .google.protobuf.Value value = 7;
      • getValueOrBuilder

        public com.google.protobuf.ValueOrBuilder getValueOrBuilder()
         Value for the `path` field. Will be set for actions:'add'/'replace'.
         Maybe set for action: 'test'. Either this or `value_matcher` will be set
         for 'test' operation. An exact match must be performed.
         
        .google.protobuf.Value value = 7;
        Specified by:
        getValueOrBuilder in interface OperationOrBuilder
      • hasValueMatcher

        public boolean hasValueMatcher()
         Can be set for action 'test' for advanced matching for the value of
         'path' field. Either this or `value` will be set for 'test' operation.
         
        .google.cloud.recommender.v1beta1.ValueMatcher value_matcher = 10;
        Specified by:
        hasValueMatcher in interface OperationOrBuilder
        Returns:
        Whether the valueMatcher field is set.
      • getValueMatcher

        public ValueMatcher getValueMatcher()
         Can be set for action 'test' for advanced matching for the value of
         'path' field. Either this or `value` will be set for 'test' operation.
         
        .google.cloud.recommender.v1beta1.ValueMatcher value_matcher = 10;
        Specified by:
        getValueMatcher in interface OperationOrBuilder
        Returns:
        The valueMatcher.
      • setValueMatcher

        public Operation.Builder setValueMatcher​(ValueMatcher value)
         Can be set for action 'test' for advanced matching for the value of
         'path' field. Either this or `value` will be set for 'test' operation.
         
        .google.cloud.recommender.v1beta1.ValueMatcher value_matcher = 10;
      • setValueMatcher

        public Operation.Builder setValueMatcher​(ValueMatcher.Builder builderForValue)
         Can be set for action 'test' for advanced matching for the value of
         'path' field. Either this or `value` will be set for 'test' operation.
         
        .google.cloud.recommender.v1beta1.ValueMatcher value_matcher = 10;
      • mergeValueMatcher

        public Operation.Builder mergeValueMatcher​(ValueMatcher value)
         Can be set for action 'test' for advanced matching for the value of
         'path' field. Either this or `value` will be set for 'test' operation.
         
        .google.cloud.recommender.v1beta1.ValueMatcher value_matcher = 10;
      • clearValueMatcher

        public Operation.Builder clearValueMatcher()
         Can be set for action 'test' for advanced matching for the value of
         'path' field. Either this or `value` will be set for 'test' operation.
         
        .google.cloud.recommender.v1beta1.ValueMatcher value_matcher = 10;
      • getValueMatcherBuilder

        public ValueMatcher.Builder getValueMatcherBuilder()
         Can be set for action 'test' for advanced matching for the value of
         'path' field. Either this or `value` will be set for 'test' operation.
         
        .google.cloud.recommender.v1beta1.ValueMatcher value_matcher = 10;
      • getValueMatcherOrBuilder

        public ValueMatcherOrBuilder getValueMatcherOrBuilder()
         Can be set for action 'test' for advanced matching for the value of
         'path' field. Either this or `value` will be set for 'test' operation.
         
        .google.cloud.recommender.v1beta1.ValueMatcher value_matcher = 10;
        Specified by:
        getValueMatcherOrBuilder in interface OperationOrBuilder
      • getPathFiltersCount

        public int getPathFiltersCount()
        Description copied from interface: OperationOrBuilder
         Set of filters to apply if `path` refers to array elements or nested array
         elements in order to narrow down to a single unique element that is being
         tested/modified.
         This is intended to be an exact match per filter. To perform advanced
         matching, use path_value_matchers.
        
         * Example:
         ```
         {
           "/versions/*/name" : "it-123"
           "/versions/*/targetSize/percent": 20
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/condition" : null
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/members/*" : ["x@example.com", "y@example.com"]
         }
         ```
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.protobuf.Value> path_filters = 8;
        Specified by:
        getPathFiltersCount in interface OperationOrBuilder
      • containsPathFilters

        public boolean containsPathFilters​(String key)
         Set of filters to apply if `path` refers to array elements or nested array
         elements in order to narrow down to a single unique element that is being
         tested/modified.
         This is intended to be an exact match per filter. To perform advanced
         matching, use path_value_matchers.
        
         * Example:
         ```
         {
           "/versions/*/name" : "it-123"
           "/versions/*/targetSize/percent": 20
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/condition" : null
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/members/*" : ["x@example.com", "y@example.com"]
         }
         ```
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.protobuf.Value> path_filters = 8;
        Specified by:
        containsPathFilters in interface OperationOrBuilder
      • getPathFiltersMap

        public Map<String,​com.google.protobuf.Value> getPathFiltersMap()
         Set of filters to apply if `path` refers to array elements or nested array
         elements in order to narrow down to a single unique element that is being
         tested/modified.
         This is intended to be an exact match per filter. To perform advanced
         matching, use path_value_matchers.
        
         * Example:
         ```
         {
           "/versions/*/name" : "it-123"
           "/versions/*/targetSize/percent": 20
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/condition" : null
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/members/*" : ["x@example.com", "y@example.com"]
         }
         ```
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.protobuf.Value> path_filters = 8;
        Specified by:
        getPathFiltersMap in interface OperationOrBuilder
      • getPathFiltersOrDefault

        public com.google.protobuf.Value getPathFiltersOrDefault​(String key,
                                                                 com.google.protobuf.Value defaultValue)
         Set of filters to apply if `path` refers to array elements or nested array
         elements in order to narrow down to a single unique element that is being
         tested/modified.
         This is intended to be an exact match per filter. To perform advanced
         matching, use path_value_matchers.
        
         * Example:
         ```
         {
           "/versions/*/name" : "it-123"
           "/versions/*/targetSize/percent": 20
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/condition" : null
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/members/*" : ["x@example.com", "y@example.com"]
         }
         ```
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.protobuf.Value> path_filters = 8;
        Specified by:
        getPathFiltersOrDefault in interface OperationOrBuilder
      • getPathFiltersOrThrow

        public com.google.protobuf.Value getPathFiltersOrThrow​(String key)
         Set of filters to apply if `path` refers to array elements or nested array
         elements in order to narrow down to a single unique element that is being
         tested/modified.
         This is intended to be an exact match per filter. To perform advanced
         matching, use path_value_matchers.
        
         * Example:
         ```
         {
           "/versions/*/name" : "it-123"
           "/versions/*/targetSize/percent": 20
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/condition" : null
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/members/*" : ["x@example.com", "y@example.com"]
         }
         ```
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.protobuf.Value> path_filters = 8;
        Specified by:
        getPathFiltersOrThrow in interface OperationOrBuilder
      • removePathFilters

        public Operation.Builder removePathFilters​(String key)
         Set of filters to apply if `path` refers to array elements or nested array
         elements in order to narrow down to a single unique element that is being
         tested/modified.
         This is intended to be an exact match per filter. To perform advanced
         matching, use path_value_matchers.
        
         * Example:
         ```
         {
           "/versions/*/name" : "it-123"
           "/versions/*/targetSize/percent": 20
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/condition" : null
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/members/*" : ["x@example.com", "y@example.com"]
         }
         ```
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.protobuf.Value> path_filters = 8;
      • getMutablePathFilters

        @Deprecated
        public Map<String,​com.google.protobuf.Value> getMutablePathFilters()
        Deprecated.
        Use alternate mutation accessors instead.
      • putPathFilters

        public Operation.Builder putPathFilters​(String key,
                                                com.google.protobuf.Value value)
         Set of filters to apply if `path` refers to array elements or nested array
         elements in order to narrow down to a single unique element that is being
         tested/modified.
         This is intended to be an exact match per filter. To perform advanced
         matching, use path_value_matchers.
        
         * Example:
         ```
         {
           "/versions/*/name" : "it-123"
           "/versions/*/targetSize/percent": 20
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/condition" : null
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/members/*" : ["x@example.com", "y@example.com"]
         }
         ```
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.protobuf.Value> path_filters = 8;
      • putAllPathFilters

        public Operation.Builder putAllPathFilters​(Map<String,​com.google.protobuf.Value> values)
         Set of filters to apply if `path` refers to array elements or nested array
         elements in order to narrow down to a single unique element that is being
         tested/modified.
         This is intended to be an exact match per filter. To perform advanced
         matching, use path_value_matchers.
        
         * Example:
         ```
         {
           "/versions/*/name" : "it-123"
           "/versions/*/targetSize/percent": 20
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/condition" : null
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/members/*" : ["x@example.com", "y@example.com"]
         }
         ```
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.protobuf.Value> path_filters = 8;
      • getPathValueMatchersCount

        public int getPathValueMatchersCount()
        Description copied from interface: OperationOrBuilder
         Similar to path_filters, this contains set of filters to apply if `path`
         field refers to array elements. This is meant to support value matching
         beyond exact match. To perform exact match, use path_filters.
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.cloud.recommender.v1beta1.ValueMatcher> path_value_matchers = 11;
        Specified by:
        getPathValueMatchersCount in interface OperationOrBuilder
      • containsPathValueMatchers

        public boolean containsPathValueMatchers​(String key)
         Similar to path_filters, this contains set of filters to apply if `path`
         field refers to array elements. This is meant to support value matching
         beyond exact match. To perform exact match, use path_filters.
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.cloud.recommender.v1beta1.ValueMatcher> path_value_matchers = 11;
        Specified by:
        containsPathValueMatchers in interface OperationOrBuilder
      • getPathValueMatchersMap

        public Map<String,​ValueMatcher> getPathValueMatchersMap()
         Similar to path_filters, this contains set of filters to apply if `path`
         field refers to array elements. This is meant to support value matching
         beyond exact match. To perform exact match, use path_filters.
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.cloud.recommender.v1beta1.ValueMatcher> path_value_matchers = 11;
        Specified by:
        getPathValueMatchersMap in interface OperationOrBuilder
      • getPathValueMatchersOrDefault

        public ValueMatcher getPathValueMatchersOrDefault​(String key,
                                                          ValueMatcher defaultValue)
         Similar to path_filters, this contains set of filters to apply if `path`
         field refers to array elements. This is meant to support value matching
         beyond exact match. To perform exact match, use path_filters.
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.cloud.recommender.v1beta1.ValueMatcher> path_value_matchers = 11;
        Specified by:
        getPathValueMatchersOrDefault in interface OperationOrBuilder
      • getPathValueMatchersOrThrow

        public ValueMatcher getPathValueMatchersOrThrow​(String key)
         Similar to path_filters, this contains set of filters to apply if `path`
         field refers to array elements. This is meant to support value matching
         beyond exact match. To perform exact match, use path_filters.
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.cloud.recommender.v1beta1.ValueMatcher> path_value_matchers = 11;
        Specified by:
        getPathValueMatchersOrThrow in interface OperationOrBuilder
      • removePathValueMatchers

        public Operation.Builder removePathValueMatchers​(String key)
         Similar to path_filters, this contains set of filters to apply if `path`
         field refers to array elements. This is meant to support value matching
         beyond exact match. To perform exact match, use path_filters.
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.cloud.recommender.v1beta1.ValueMatcher> path_value_matchers = 11;
      • getMutablePathValueMatchers

        @Deprecated
        public Map<String,​ValueMatcher> getMutablePathValueMatchers()
        Deprecated.
        Use alternate mutation accessors instead.
      • putPathValueMatchers

        public Operation.Builder putPathValueMatchers​(String key,
                                                      ValueMatcher value)
         Similar to path_filters, this contains set of filters to apply if `path`
         field refers to array elements. This is meant to support value matching
         beyond exact match. To perform exact match, use path_filters.
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.cloud.recommender.v1beta1.ValueMatcher> path_value_matchers = 11;
      • putAllPathValueMatchers

        public Operation.Builder putAllPathValueMatchers​(Map<String,​ValueMatcher> values)
         Similar to path_filters, this contains set of filters to apply if `path`
         field refers to array elements. This is meant to support value matching
         beyond exact match. To perform exact match, use path_filters.
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.cloud.recommender.v1beta1.ValueMatcher> path_value_matchers = 11;
      • setUnknownFields

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

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