Class Operation
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.recommender.v1beta1.Operation
-
- All Implemented Interfaces:
OperationOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Operation extends com.google.protobuf.GeneratedMessageV3 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.v1beta1.Operation
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Operation.Builder
Contains an operation for a resource loosely based on the JSON-PATCH format with support for: * Custom filters for describing partial array patch.static class
Operation.PathValueCase
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACTION_FIELD_NUMBER
static int
PATH_FIELD_NUMBER
static int
PATH_FILTERS_FIELD_NUMBER
static int
PATH_VALUE_MATCHERS_FIELD_NUMBER
static int
RESOURCE_FIELD_NUMBER
static int
RESOURCE_TYPE_FIELD_NUMBER
static int
SOURCE_PATH_FIELD_NUMBER
static int
SOURCE_RESOURCE_FIELD_NUMBER
static int
VALUE_FIELD_NUMBER
static int
VALUE_MATCHER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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.boolean
equals(Object obj)
String
getAction()
Type of this operation.com.google.protobuf.ByteString
getActionBytes()
Type of this operation.static Operation
getDefaultInstance()
Operation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<Operation>
getParserForType()
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.int
getSerializedSize()
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.ValueMatcher
getValueMatcher()
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.int
hashCode()
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.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Operation.Builder
newBuilder()
static Operation.Builder
newBuilder(Operation prototype)
Operation.Builder
newBuilderForType()
protected Operation.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Operation
parseDelimitedFrom(InputStream input)
static Operation
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Operation
parseFrom(byte[] data)
static Operation
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Operation
parseFrom(com.google.protobuf.ByteString data)
static Operation
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Operation
parseFrom(com.google.protobuf.CodedInputStream input)
static Operation
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Operation
parseFrom(InputStream input)
static Operation
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Operation
parseFrom(ByteBuffer data)
static Operation
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Operation>
parser()
Operation.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_RESOURCE_FIELD_NUMBER
public static final int SOURCE_RESOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_PATH_FIELD_NUMBER
public static final int SOURCE_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALUE_MATCHER_FIELD_NUMBER
public static final int VALUE_MATCHER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PATH_FILTERS_FIELD_NUMBER
public static final int PATH_FILTERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PATH_VALUE_MATCHERS_FIELD_NUMBER
public static final int PATH_VALUE_MATCHERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getPathValueCase
public Operation.PathValueCase getPathValueCase()
- Specified by:
getPathValueCase
in interfaceOperationOrBuilder
-
getAction
public String getAction()
Type of this operation. Contains one of 'add', 'remove', 'replace', 'move', 'copy', 'test' and 'custom' operations. This field is case-insensitive and always populated.
string action = 1;
- Specified by:
getAction
in 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:
getActionBytes
in interfaceOperationOrBuilder
- Returns:
- The bytes for action.
-
getResourceType
public String getResourceType()
Type of GCP resource being modified/tested. This field is always populated. Example: cloudresourcemanager.googleapis.com/Project, compute.googleapis.com/Instance
string resource_type = 2;
- Specified by:
getResourceType
in 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:
getResourceTypeBytes
in interfaceOperationOrBuilder
- Returns:
- The bytes for resourceType.
-
getResource
public String getResource()
Contains the fully qualified resource name. This field is always populated. ex: //cloudresourcemanager.googleapis.com/projects/foo.
string resource = 3;
- Specified by:
getResource
in 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:
getResourceBytes
in interfaceOperationOrBuilder
- Returns:
- The bytes for resource.
-
getPath
public String getPath()
Path to the target field being operated on. If the operation is at the resource level, then path should be "/". This field is always populated.
string path = 4;
- Specified by:
getPath
in 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:
getPathBytes
in interfaceOperationOrBuilder
- Returns:
- The bytes for path.
-
getSourceResource
public String getSourceResource()
Can be set with action 'copy' to copy resource configuration across different resources of the same type. Example: A resource clone can be done via action = 'copy', path = "/", from = "/", source_resource = <source> and resource_name = <target>. This field is empty for all other values of `action`.
string source_resource = 5;
- Specified by:
getSourceResource
in 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:
getSourceResourceBytes
in interfaceOperationOrBuilder
- Returns:
- The bytes for sourceResource.
-
getSourcePath
public String getSourcePath()
Can be set with action 'copy' or 'move' to indicate the source field within resource or source_resource, ignored if provided for other operation types.
string source_path = 6;
- Specified by:
getSourcePath
in 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:
getSourcePathBytes
in interfaceOperationOrBuilder
- Returns:
- The bytes for sourcePath.
-
hasValue
public boolean hasValue()
Value for the `path` field. Will be set for actions:'add'/'replace'. Maybe set for action: 'test'. Either this or `value_matcher` will be set for 'test' operation. An exact match must be performed.
.google.protobuf.Value value = 7;
- Specified by:
hasValue
in 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:
getValue
in interfaceOperationOrBuilder
- Returns:
- The value.
-
getValueOrBuilder
public com.google.protobuf.ValueOrBuilder getValueOrBuilder()
Value for the `path` field. Will be set for actions:'add'/'replace'. Maybe set for action: 'test'. Either this or `value_matcher` will be set for 'test' operation. An exact match must be performed.
.google.protobuf.Value value = 7;
- Specified by:
getValueOrBuilder
in 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:
hasValueMatcher
in 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.v1beta1.ValueMatcher value_matcher = 10;
- Specified by:
getValueMatcher
in interfaceOperationOrBuilder
- Returns:
- The valueMatcher.
-
getValueMatcherOrBuilder
public ValueMatcherOrBuilder getValueMatcherOrBuilder()
Can be set for action 'test' for advanced matching for the value of 'path' field. Either this or `value` will be set for 'test' operation.
.google.cloud.recommender.v1beta1.ValueMatcher value_matcher = 10;
- Specified by:
getValueMatcherOrBuilder
in interfaceOperationOrBuilder
-
getPathFiltersCount
public int getPathFiltersCount()
Description copied from interface:OperationOrBuilder
Set of filters to apply if `path` refers to array elements or nested array elements in order to narrow down to a single unique element that is being tested/modified. This is intended to be an exact match per filter. To perform advanced matching, use path_value_matchers. * Example: ``` { "/versions/*/name" : "it-123" "/versions/*/targetSize/percent": 20 } ``` * Example: ``` { "/bindings/*/role": "roles/owner" "/bindings/*/condition" : null } ``` * Example: ``` { "/bindings/*/role": "roles/owner" "/bindings/*/members/*" : ["x@example.com", "y@example.com"] } ``` When both path_filters and path_value_matchers are set, an implicit AND must be performed.
map<string, .google.protobuf.Value> path_filters = 8;
- Specified by:
getPathFiltersCount
in 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:
containsPathFilters
in interfaceOperationOrBuilder
-
getPathFilters
@Deprecated public Map<String,com.google.protobuf.Value> getPathFilters()
Deprecated.UsegetPathFiltersMap()
instead.- Specified by:
getPathFilters
in 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:
getPathFiltersMap
in 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:
getPathFiltersOrDefault
in 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:
getPathFiltersOrThrow
in interfaceOperationOrBuilder
-
getPathValueMatchersCount
public int getPathValueMatchersCount()
Description copied from interface:OperationOrBuilder
Similar to path_filters, this contains set of filters to apply if `path` field refers to array elements. This is meant to support value matching beyond exact match. To perform exact match, use path_filters. When both path_filters and path_value_matchers are set, an implicit AND must be performed.
map<string, .google.cloud.recommender.v1beta1.ValueMatcher> path_value_matchers = 11;
- Specified by:
getPathValueMatchersCount
in 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.v1beta1.ValueMatcher> path_value_matchers = 11;
- Specified by:
containsPathValueMatchers
in interfaceOperationOrBuilder
-
getPathValueMatchers
@Deprecated public Map<String,ValueMatcher> getPathValueMatchers()
Deprecated.UsegetPathValueMatchersMap()
instead.- Specified by:
getPathValueMatchers
in 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.v1beta1.ValueMatcher> path_value_matchers = 11;
- Specified by:
getPathValueMatchersMap
in 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.v1beta1.ValueMatcher> path_value_matchers = 11;
- Specified by:
getPathValueMatchersOrDefault
in 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.v1beta1.ValueMatcher> path_value_matchers = 11;
- Specified by:
getPathValueMatchersOrThrow
in interfaceOperationOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Operation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Operation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Operation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Operation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Operation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Operation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Operation parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Operation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Operation parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Operation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Operation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Operation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Operation.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Operation.Builder newBuilder()
-
newBuilder
public static Operation.Builder newBuilder(Operation prototype)
-
toBuilder
public Operation.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Operation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Operation getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Operation> parser()
-
getParserForType
public com.google.protobuf.Parser<Operation> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Operation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-