Class Operation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Operation.Builder>
com.google.cloud.recommender.v1beta1.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.GeneratedMessage.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 Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Operation.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Operation.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public Operation.Builder mergeFrom(Operation other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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
    • getPathValueCase

      public Operation.PathValueCase getPathValueCase()
      Specified by:
      getPathValueCase in interface OperationOrBuilder
    • clearPathValue

      public Operation.Builder clearPathValue()
    • 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
    • getPathFilters

      @Deprecated public Map<String,com.google.protobuf.Value> getPathFilters()
      Deprecated.
      Use getPathFiltersMap() instead.
      Specified by:
      getPathFilters 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
    • clearPathFilters

      public Operation.Builder clearPathFilters()
    • 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;
    • putPathFiltersBuilderIfAbsent

      public com.google.protobuf.Value.Builder putPathFiltersBuilderIfAbsent(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;
    • 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
    • getPathValueMatchers

      @Deprecated public Map<String,ValueMatcher> getPathValueMatchers()
      Deprecated.
      Specified by:
      getPathValueMatchers 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
    • clearPathValueMatchers

      public Operation.Builder clearPathValueMatchers()
    • 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;
    • putPathValueMatchersBuilderIfAbsent

      public ValueMatcher.Builder putPathValueMatchersBuilderIfAbsent(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;