Package com.google.cloud.recommender.v1
Class Operation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
- com.google.cloud.recommender.v1.Operation.Builder
-
- All Implemented Interfaces:
OperationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Operation
public static final class Operation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder> implements OperationOrBuilder
Contains an operation for a resource loosely based on the JSON-PATCH format with support for: * Custom filters for describing partial array patch. * Extended path values for describing nested arrays. * Custom fields for describing the resource for which the operation is being described. * Allows extension to custom operations not natively supported by RFC6902. See https://tools.ietf.org/html/rfc6902 for details on the original RFC.
Protobuf typegoogle.cloud.recommender.v1.Operation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Operation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Operationbuild()OperationbuildPartial()Operation.Builderclear()Operation.BuilderclearAction()Type of this operation.Operation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Operation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Operation.BuilderclearPath()Path to the target field being operated on.Operation.BuilderclearPathFilters()Operation.BuilderclearPathValue()Operation.BuilderclearPathValueMatchers()Operation.BuilderclearResource()Contains the fully qualified resource name.Operation.BuilderclearResourceType()Type of GCP resource being modified/tested.Operation.BuilderclearSourcePath()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.BuilderclearSourceResource()Can be set with action 'copy' to copy resource configuration across different resources of the same type.Operation.BuilderclearValue()Value for the `path` field.Operation.BuilderclearValueMatcher()Can be set for action 'test' for advanced matching for the value of 'path' field.Operation.Builderclone()booleancontainsPathFilters(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.booleancontainsPathValueMatchers(String key)Similar to path_filters, this contains set of filters to apply if `path` field refers to array elements.StringgetAction()Type of this operation.com.google.protobuf.ByteStringgetActionBytes()Type of this operation.OperationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Map<String,com.google.protobuf.Value>getMutablePathFilters()Deprecated.Map<String,ValueMatcher>getMutablePathValueMatchers()Deprecated.StringgetPath()Path to the target field being operated on.com.google.protobuf.ByteStringgetPathBytes()Path to the target field being operated on.Map<String,com.google.protobuf.Value>getPathFilters()Deprecated.intgetPathFiltersCount()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.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.ValuegetPathFiltersOrThrow(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.PathValueCasegetPathValueCase()Map<String,ValueMatcher>getPathValueMatchers()Deprecated.intgetPathValueMatchersCount()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.ValueMatchergetPathValueMatchersOrDefault(String key, ValueMatcher defaultValue)Similar to path_filters, this contains set of filters to apply if `path` field refers to array elements.ValueMatchergetPathValueMatchersOrThrow(String key)Similar to path_filters, this contains set of filters to apply if `path` field refers to array elements.StringgetResource()Contains the fully qualified resource name.com.google.protobuf.ByteStringgetResourceBytes()Contains the fully qualified resource name.StringgetResourceType()Type of GCP resource being modified/tested.com.google.protobuf.ByteStringgetResourceTypeBytes()Type of GCP resource being modified/tested.StringgetSourcePath()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.ByteStringgetSourcePathBytes()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.StringgetSourceResource()Can be set with action 'copy' to copy resource configuration across different resources of the same type.com.google.protobuf.ByteStringgetSourceResourceBytes()Can 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.BuildergetValueBuilder()Value for the `path` field.ValueMatchergetValueMatcher()Can be set for action 'test' for advanced matching for the value of 'path' field.ValueMatcher.BuildergetValueMatcherBuilder()Can be set for action 'test' for advanced matching for the value of 'path' field.ValueMatcherOrBuildergetValueMatcherOrBuilder()Can be set for action 'test' for advanced matching for the value of 'path' field.com.google.protobuf.ValueOrBuildergetValueOrBuilder()Value for the `path` field.booleanhasValue()Value for the `path` field.booleanhasValueMatcher()Can be set for action 'test' for advanced matching for the value of 'path' field.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Operation.BuildermergeFrom(Operation other)Operation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Operation.BuildermergeFrom(com.google.protobuf.Message other)Operation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Operation.BuildermergeValue(com.google.protobuf.Value value)Value for the `path` field.Operation.BuildermergeValueMatcher(ValueMatcher value)Can be set for action 'test' for advanced matching for the value of 'path' field.Operation.BuilderputAllPathFilters(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.BuilderputAllPathValueMatchers(Map<String,ValueMatcher> values)Similar to path_filters, this contains set of filters to apply if `path` field refers to array elements.Operation.BuilderputPathFilters(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.Operation.BuilderputPathValueMatchers(String key, ValueMatcher value)Similar to path_filters, this contains set of filters to apply if `path` field refers to array elements.Operation.BuilderremovePathFilters(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.BuilderremovePathValueMatchers(String key)Similar to path_filters, this contains set of filters to apply if `path` field refers to array elements.Operation.BuildersetAction(String value)Type of this operation.Operation.BuildersetActionBytes(com.google.protobuf.ByteString value)Type of this operation.Operation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Operation.BuildersetPath(String value)Path to the target field being operated on.Operation.BuildersetPathBytes(com.google.protobuf.ByteString value)Path to the target field being operated on.Operation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Operation.BuildersetResource(String value)Contains the fully qualified resource name.Operation.BuildersetResourceBytes(com.google.protobuf.ByteString value)Contains the fully qualified resource name.Operation.BuildersetResourceType(String value)Type of GCP resource being modified/tested.Operation.BuildersetResourceTypeBytes(com.google.protobuf.ByteString value)Type of GCP resource being modified/tested.Operation.BuildersetSourcePath(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.BuildersetSourcePathBytes(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.BuildersetSourceResource(String value)Can be set with action 'copy' to copy resource configuration across different resources of the same type.Operation.BuildersetSourceResourceBytes(com.google.protobuf.ByteString value)Can be set with action 'copy' to copy resource configuration across different resources of the same type.Operation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Operation.BuildersetValue(com.google.protobuf.Value value)Value for the `path` field.Operation.BuildersetValue(com.google.protobuf.Value.Builder builderForValue)Value for the `path` field.Operation.BuildersetValueMatcher(ValueMatcher value)Can be set for action 'test' for advanced matching for the value of 'path' field.Operation.BuildersetValueMatcher(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.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
clear
public Operation.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Operation.Builder>
-
getDefaultInstanceForType
public Operation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Operation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Operation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Operation.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
setField
public Operation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
clearField
public Operation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
clearOneof
public Operation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
setRepeatedField
public Operation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
addRepeatedField
public Operation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
mergeFrom
public Operation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Operation.Builder>
-
mergeFrom
public Operation.Builder mergeFrom(Operation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
mergeFrom
public Operation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
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
public Operation.PathValueCase getPathValueCase()
- Specified by:
getPathValueCasein interfaceOperationOrBuilder
-
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:
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
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:
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
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:
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
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:
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
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:
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
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:
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
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:
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
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:
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.v1.ValueMatcher value_matcher = 10;- Specified by:
hasValueMatcherin interfaceOperationOrBuilder- 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.v1.ValueMatcher value_matcher = 10;- Specified by:
getValueMatcherin interfaceOperationOrBuilder- 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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
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:
containsPathFiltersin interfaceOperationOrBuilder
-
getPathFilters
@Deprecated public Map<String,com.google.protobuf.Value> getPathFilters()
Deprecated.UsegetPathFiltersMap()instead.- Specified by:
getPathFiltersin interfaceOperationOrBuilder
-
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:
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
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:
getPathFiltersOrThrowin interfaceOperationOrBuilder
-
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;
-
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.v1.ValueMatcher> path_value_matchers = 11;- Specified by:
getPathValueMatchersCountin interfaceOperationOrBuilder
-
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.v1.ValueMatcher> path_value_matchers = 11;- Specified by:
containsPathValueMatchersin interfaceOperationOrBuilder
-
getPathValueMatchers
@Deprecated public Map<String,ValueMatcher> getPathValueMatchers()
Deprecated.UsegetPathValueMatchersMap()instead.- Specified by:
getPathValueMatchersin interfaceOperationOrBuilder
-
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.v1.ValueMatcher> path_value_matchers = 11;- Specified by:
getPathValueMatchersMapin interfaceOperationOrBuilder
-
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.v1.ValueMatcher> path_value_matchers = 11;- Specified by:
getPathValueMatchersOrDefaultin interfaceOperationOrBuilder
-
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.v1.ValueMatcher> path_value_matchers = 11;- Specified by:
getPathValueMatchersOrThrowin interfaceOperationOrBuilder
-
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.v1.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.v1.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.v1.ValueMatcher> path_value_matchers = 11;
-
setUnknownFields
public final Operation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
mergeUnknownFields
public final Operation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
-