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.v1.Operation| Modifier and Type | Method and Description |
|---|---|
Operation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Operation |
build() |
Operation |
buildPartial() |
Operation.Builder |
clear() |
Operation.Builder |
clearAction()
Type of this operation.
|
Operation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Operation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Operation.Builder |
clearPath()
Path to the target field being operated on.
|
Operation.Builder |
clearPathFilters() |
Operation.Builder |
clearPathValue() |
Operation.Builder |
clearPathValueMatchers() |
Operation.Builder |
clearResource()
Contains the fully qualified resource name.
|
Operation.Builder |
clearResourceType()
Type of GCP resource being modified/tested.
|
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.
|
Operation.Builder |
clearSourceResource()
Can be set with action 'copy' to copy resource configuration across
different resources of the same type.
|
Operation.Builder |
clearValue()
Value for the `path` field.
|
Operation.Builder |
clearValueMatcher()
Can be set for action 'test' for advanced matching for the value of
'path' field.
|
Operation.Builder |
clone() |
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.
|
boolean |
containsPathValueMatchers(String key)
Similar to path_filters, this contains set of filters to apply if `path`
field refers to array elements.
|
String |
getAction()
Type of this operation.
|
com.google.protobuf.ByteString |
getActionBytes()
Type of this operation.
|
Operation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,com.google.protobuf.Value> |
getMutablePathFilters()
Deprecated.
|
Map<String,ValueMatcher> |
getMutablePathValueMatchers()
Deprecated.
|
String |
getPath()
Path to the target field being operated on.
|
com.google.protobuf.ByteString |
getPathBytes()
Path to the target field being operated on.
|
Map<String,com.google.protobuf.Value> |
getPathFilters()
Deprecated.
|
int |
getPathFiltersCount()
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.
|
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.
|
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.
|
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.
|
Operation.PathValueCase |
getPathValueCase() |
Map<String,ValueMatcher> |
getPathValueMatchers()
Deprecated.
|
int |
getPathValueMatchersCount()
Similar to path_filters, this contains set of filters to apply if `path`
field refers to array elements.
|
Map<String,ValueMatcher> |
getPathValueMatchersMap()
Similar to path_filters, this contains set of filters to apply if `path`
field refers to array elements.
|
ValueMatcher |
getPathValueMatchersOrDefault(String key,
ValueMatcher defaultValue)
Similar to path_filters, this contains set of filters to apply if `path`
field refers to array elements.
|
ValueMatcher |
getPathValueMatchersOrThrow(String key)
Similar to path_filters, this contains set of filters to apply if `path`
field refers to array elements.
|
String |
getResource()
Contains the fully qualified resource name.
|
com.google.protobuf.ByteString |
getResourceBytes()
Contains the fully qualified resource name.
|
String |
getResourceType()
Type of GCP resource being modified/tested.
|
com.google.protobuf.ByteString |
getResourceTypeBytes()
Type of GCP resource being modified/tested.
|
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.
|
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 |
getSourceResource()
Can be set with action 'copy' to copy resource configuration across
different resources of the same type.
|
com.google.protobuf.ByteString |
getSourceResourceBytes()
Can be set with action 'copy' to copy resource configuration across
different resources of the same type.
|
com.google.protobuf.Value |
getValue()
Value for the `path` field.
|
com.google.protobuf.Value.Builder |
getValueBuilder()
Value for the `path` field.
|
ValueMatcher |
getValueMatcher()
Can be set for action 'test' for advanced matching for the value of
'path' field.
|
ValueMatcher.Builder |
getValueMatcherBuilder()
Can be set for action 'test' for advanced matching for the value of
'path' field.
|
ValueMatcherOrBuilder |
getValueMatcherOrBuilder()
Can be set for action 'test' for advanced matching for the value of
'path' field.
|
com.google.protobuf.ValueOrBuilder |
getValueOrBuilder()
Value for the `path` field.
|
boolean |
hasValue()
Value for the `path` field.
|
boolean |
hasValueMatcher()
Can be set for action 'test' for advanced matching for the value of
'path' field.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
Operation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Operation.Builder |
mergeFrom(com.google.protobuf.Message other) |
Operation.Builder |
mergeFrom(Operation other) |
Operation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Operation.Builder |
mergeValue(com.google.protobuf.Value value)
Value for the `path` field.
|
Operation.Builder |
mergeValueMatcher(ValueMatcher value)
Can be set for action 'test' for advanced matching for the value of
'path' field.
|
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.
|
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.
|
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.
|
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.
|
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.
|
ValueMatcher.Builder |
putPathValueMatchersBuilderIfAbsent(String key)
Similar to path_filters, this contains set of filters to apply if `path`
field refers to array elements.
|
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.
|
Operation.Builder |
removePathValueMatchers(String key)
Similar to path_filters, this contains set of filters to apply if `path`
field refers to array elements.
|
Operation.Builder |
setAction(String value)
Type of this operation.
|
Operation.Builder |
setActionBytes(com.google.protobuf.ByteString value)
Type of this operation.
|
Operation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Operation.Builder |
setPath(String value)
Path to the target field being operated on.
|
Operation.Builder |
setPathBytes(com.google.protobuf.ByteString value)
Path to the target field being operated on.
|
Operation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Operation.Builder |
setResource(String value)
Contains the fully qualified resource name.
|
Operation.Builder |
setResourceBytes(com.google.protobuf.ByteString value)
Contains the fully qualified resource name.
|
Operation.Builder |
setResourceType(String value)
Type of GCP resource being modified/tested.
|
Operation.Builder |
setResourceTypeBytes(com.google.protobuf.ByteString value)
Type of GCP resource being modified/tested.
|
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.
|
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.
|
Operation.Builder |
setSourceResource(String value)
Can be set with action 'copy' to copy resource configuration across
different resources of the same type.
|
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.
|
Operation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Operation.Builder |
setValue(com.google.protobuf.Value.Builder builderForValue)
Value for the `path` field.
|
Operation.Builder |
setValue(com.google.protobuf.Value value)
Value for the `path` field.
|
Operation.Builder |
setValueMatcher(ValueMatcher.Builder builderForValue)
Can be set for action 'test' for advanced matching for the value of
'path' field.
|
Operation.Builder |
setValueMatcher(ValueMatcher value)
Can be set for action 'test' for advanced matching for the value of
'path' field.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Operation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Operation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Operation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Operation.Builder>public Operation.Builder mergeFrom(Operation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Operation.Builder>IOExceptionpublic Operation.PathValueCase getPathValueCase()
getPathValueCase in interface OperationOrBuilderpublic Operation.Builder clearPathValue()
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;getAction in interface OperationOrBuilderpublic 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;getActionBytes in interface OperationOrBuilderpublic 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;value - The action to set.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;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;value - The bytes for action to set.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;getResourceType in interface OperationOrBuilderpublic 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;getResourceTypeBytes in interface OperationOrBuilderpublic 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;value - The resourceType to set.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;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;value - The bytes for resourceType to set.public String getResource()
Contains the fully qualified resource name. This field is always populated. ex: //cloudresourcemanager.googleapis.com/projects/foo.
string resource = 3;getResource in interface OperationOrBuilderpublic 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;getResourceBytes in interface OperationOrBuilderpublic 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;value - The resource to set.public Operation.Builder clearResource()
Contains the fully qualified resource name. This field is always populated. ex: //cloudresourcemanager.googleapis.com/projects/foo.
string resource = 3;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;value - The bytes for resource to set.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;getPath in interface OperationOrBuilderpublic 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;getPathBytes in interface OperationOrBuilderpublic 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;value - The path to set.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;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;value - The bytes for path to set.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;getSourceResource in interface OperationOrBuilderpublic 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;getSourceResourceBytes in interface OperationOrBuilderpublic 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;value - The sourceResource to set.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;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;value - The bytes for sourceResource to set.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;getSourcePath in interface OperationOrBuilderpublic 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;getSourcePathBytes in interface OperationOrBuilderpublic 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;value - The sourcePath to set.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;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;value - The bytes for sourcePath to set.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;hasValue in interface OperationOrBuilderpublic 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;getValue in interface OperationOrBuilderpublic 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;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;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;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;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;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;getValueOrBuilder in interface OperationOrBuilderpublic 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.v1.ValueMatcher value_matcher = 10;hasValueMatcher in interface OperationOrBuilderpublic 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.v1.ValueMatcher value_matcher = 10;getValueMatcher in interface OperationOrBuilderpublic 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.v1.ValueMatcher value_matcher = 10;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.v1.ValueMatcher value_matcher = 10;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.v1.ValueMatcher value_matcher = 10;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.v1.ValueMatcher value_matcher = 10;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.v1.ValueMatcher value_matcher = 10;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.v1.ValueMatcher value_matcher = 10;getValueMatcherOrBuilder in interface OperationOrBuilderpublic int getPathFiltersCount()
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;getPathFiltersCount in interface OperationOrBuilderpublic 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;containsPathFilters in interface OperationOrBuilder@Deprecated public Map<String,com.google.protobuf.Value> getPathFilters()
getPathFiltersMap() instead.getPathFilters in interface OperationOrBuilderpublic 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;getPathFiltersMap in interface OperationOrBuilderpublic 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;getPathFiltersOrDefault in interface OperationOrBuilderpublic 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;getPathFiltersOrThrow in interface OperationOrBuilderpublic Operation.Builder clearPathFilters()
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;@Deprecated public Map<String,com.google.protobuf.Value> getMutablePathFilters()
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;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;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;public int getPathValueMatchersCount()
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.v1.ValueMatcher> path_value_matchers = 11;
getPathValueMatchersCount in interface OperationOrBuilderpublic 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.v1.ValueMatcher> path_value_matchers = 11;
containsPathValueMatchers in interface OperationOrBuilder@Deprecated public Map<String,ValueMatcher> getPathValueMatchers()
getPathValueMatchersMap() instead.getPathValueMatchers in interface OperationOrBuilderpublic 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.v1.ValueMatcher> path_value_matchers = 11;
getPathValueMatchersMap in interface OperationOrBuilderpublic 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.v1.ValueMatcher> path_value_matchers = 11;
getPathValueMatchersOrDefault in interface OperationOrBuilderpublic 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.v1.ValueMatcher> path_value_matchers = 11;
getPathValueMatchersOrThrow in interface OperationOrBuilderpublic Operation.Builder clearPathValueMatchers()
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.v1.ValueMatcher> path_value_matchers = 11;
@Deprecated public Map<String,ValueMatcher> getMutablePathValueMatchers()
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.v1.ValueMatcher> path_value_matchers = 11;
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.v1.ValueMatcher> path_value_matchers = 11;
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.v1.ValueMatcher> path_value_matchers = 11;
public final Operation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public final Operation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>Copyright © 2024 Google LLC. All rights reserved.