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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Type of this operation.Path to the target field being operated on.Contains the fully qualified resource name.Type of GCP resource being modified/tested.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.Can be set with action 'copy' to copy resource configuration across different resources of the same type.Value for the `path` field.Can be set for action 'test' for advanced matching for the value of 'path' field.booleanSet 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.booleanSimilar to path_filters, this contains set of filters to apply if `path` field refers to array elements.Type of this operation.com.google.protobuf.ByteStringType of this operation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.Deprecated.getPath()Path to the target field being operated on.com.google.protobuf.ByteStringPath to the target field being operated on.Deprecated.intSet 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.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.com.google.protobuf.ValuegetPathFiltersOrDefault(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.com.google.protobuf.ValueSet 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.Deprecated.intSimilar to path_filters, this contains set of filters to apply if `path` field refers to array elements.Similar to path_filters, this contains set of filters to apply if `path` field refers to array elements.getPathValueMatchersOrDefault(String key, ValueMatcher defaultValue) Similar to path_filters, this contains set of filters to apply if `path` field refers to array elements.Similar to path_filters, this contains set of filters to apply if `path` field refers to array elements.Contains the fully qualified resource name.com.google.protobuf.ByteStringContains the fully qualified resource name.Type of GCP resource being modified/tested.com.google.protobuf.ByteStringType of GCP resource being modified/tested.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.com.google.protobuf.ByteStringCan be set with action 'copy' or 'move' to indicate the source field within resource or source_resource, ignored if provided for other operation types.Can be set with action 'copy' to copy resource configuration across different resources of the same type.com.google.protobuf.ByteStringCan be set with action 'copy' to copy resource configuration across different resources of the same type.com.google.protobuf.ValuegetValue()Value for the `path` field.com.google.protobuf.Value.BuilderValue for the `path` field.Can be set for action 'test' for advanced matching for the value of 'path' field.Can be set for action 'test' for advanced matching for the value of 'path' field.Can be set for action 'test' for advanced matching for the value of 'path' field.com.google.protobuf.ValueOrBuilderValue for the `path` field.booleanhasValue()Value for the `path` field.booleanCan be set for action 'test' for advanced matching for the value of 'path' field.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeValue(com.google.protobuf.Value value) Value for the `path` field.mergeValueMatcher(ValueMatcher value) Can be set for action 'test' for advanced matching for the value of 'path' field.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.putAllPathValueMatchers(Map<String, ValueMatcher> values) Similar to path_filters, this contains set of filters to apply if `path` field refers to array elements.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.com.google.protobuf.Value.BuilderSet 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.putPathValueMatchers(String key, ValueMatcher value) Similar to path_filters, this contains set of filters to apply if `path` field refers to array elements.Similar to path_filters, this contains set of filters to apply if `path` field refers to array elements.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.Similar to path_filters, this contains set of filters to apply if `path` field refers to array elements.Type of this operation.setActionBytes(com.google.protobuf.ByteString value) Type of this operation.Path to the target field being operated on.setPathBytes(com.google.protobuf.ByteString value) Path to the target field being operated on.setResource(String value) Contains the fully qualified resource name.setResourceBytes(com.google.protobuf.ByteString value) Contains the fully qualified resource name.setResourceType(String value) Type of GCP resource being modified/tested.setResourceTypeBytes(com.google.protobuf.ByteString value) Type of GCP resource being modified/tested.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.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.setSourceResource(String value) Can be set with action 'copy' to copy resource configuration across different resources of the same type.setSourceResourceBytes(com.google.protobuf.ByteString value) Can be set with action 'copy' to copy resource configuration across different resources of the same type.setValue(com.google.protobuf.Value value) Value for the `path` field.setValue(com.google.protobuf.Value.Builder builderForValue) Value for the `path` field.setValueMatcher(ValueMatcher value) Can be set for action 'test' for advanced matching for the value of 'path' field.setValueMatcher(ValueMatcher.Builder builderForValue) Can be set for action 'test' for advanced matching for the value of 'path' field.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Operation.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Operation.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Operation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Operation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Operation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Operation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Operation.Builder>- Throws:
IOException
-
getPathValueCase
- Specified by:
getPathValueCasein interfaceOperationOrBuilder
-
clearPathValue
-
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:
getActionin interfaceOperationOrBuilder- 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:
getActionBytesin interfaceOperationOrBuilder- Returns:
- The bytes for action.
-
setAction
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
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
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
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:
getResourceTypein interfaceOperationOrBuilder- 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:
getResourceTypeBytesin interfaceOperationOrBuilder- Returns:
- The bytes for resourceType.
-
setResourceType
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
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
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
Contains the fully qualified resource name. This field is always populated. ex: //cloudresourcemanager.googleapis.com/projects/foo.
string resource = 3;- Specified by:
getResourcein interfaceOperationOrBuilder- 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:
getResourceBytesin interfaceOperationOrBuilder- Returns:
- The bytes for resource.
-
setResource
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
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
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
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:
getPathin interfaceOperationOrBuilder- 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:
getPathBytesin interfaceOperationOrBuilder- Returns:
- The bytes for path.
-
setPath
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
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
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
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:
getSourceResourcein interfaceOperationOrBuilder- 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:
getSourceResourceBytesin interfaceOperationOrBuilder- Returns:
- The bytes for sourceResource.
-
setSourceResource
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
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
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
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:
getSourcePathin interfaceOperationOrBuilder- 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:
getSourcePathBytesin interfaceOperationOrBuilder- Returns:
- The bytes for sourcePath.
-
setSourcePath
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
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
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:
hasValuein interfaceOperationOrBuilder- 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:
getValuein interfaceOperationOrBuilder- Returns:
- The value.
-
setValue
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
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
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
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:
getValueOrBuilderin interfaceOperationOrBuilder
-
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:
hasValueMatcherin interfaceOperationOrBuilder- Returns:
- Whether the valueMatcher field is set.
-
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:
getValueMatcherin interfaceOperationOrBuilder- Returns:
- The valueMatcher.
-
setValueMatcher
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
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
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
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
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
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:
getValueMatcherOrBuilderin interfaceOperationOrBuilder
-
getPathFiltersCount
public int getPathFiltersCount()Description copied from interface:OperationOrBuilderSet 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:
getPathFiltersCountin interfaceOperationOrBuilder
-
containsPathFilters
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:
containsPathFiltersin interfaceOperationOrBuilder
-
getPathFilters
Deprecated.UsegetPathFiltersMap()instead.- Specified by:
getPathFiltersin interfaceOperationOrBuilder
-
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:
getPathFiltersMapin interfaceOperationOrBuilder
-
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:
getPathFiltersOrDefaultin interfaceOperationOrBuilder
-
getPathFiltersOrThrow
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:
getPathFiltersOrThrowin interfaceOperationOrBuilder
-
clearPathFilters
-
removePathFilters
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.Use alternate mutation accessors instead. -
putPathFilters
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
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
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:OperationOrBuilderSimilar 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:
getPathValueMatchersCountin interfaceOperationOrBuilder
-
containsPathValueMatchers
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:
containsPathValueMatchersin interfaceOperationOrBuilder
-
getPathValueMatchers
Deprecated.UsegetPathValueMatchersMap()instead.- Specified by:
getPathValueMatchersin interfaceOperationOrBuilder
-
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:
getPathValueMatchersMapin interfaceOperationOrBuilder
-
getPathValueMatchersOrDefault
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:
getPathValueMatchersOrDefaultin interfaceOperationOrBuilder
-
getPathValueMatchersOrThrow
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:
getPathValueMatchersOrThrowin interfaceOperationOrBuilder
-
clearPathValueMatchers
-
removePathValueMatchers
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.Use alternate mutation accessors instead. -
putPathValueMatchers
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
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
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;
-