Class 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 type google.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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • 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 interface com.google.protobuf.MessageLite

        toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.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 class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getAction

        public String getAction()
         Type of this operation. Contains one of 'add', 'remove', 'replace', 'move',
         'copy', 'test' and 'custom' operations. This field is case-insensitive and
         always populated.
         
        string action = 1;
        Specified by:
        getAction in interface OperationOrBuilder
        Returns:
        The action.
      • getActionBytes

        public com.google.protobuf.ByteString getActionBytes()
         Type of this operation. Contains one of 'add', 'remove', 'replace', 'move',
         'copy', 'test' and 'custom' operations. This field is case-insensitive and
         always populated.
         
        string action = 1;
        Specified by:
        getActionBytes in interface OperationOrBuilder
        Returns:
        The bytes for action.
      • getResourceType

        public String getResourceType()
         Type of GCP resource being modified/tested. This field is always populated.
         Example: cloudresourcemanager.googleapis.com/Project,
         compute.googleapis.com/Instance
         
        string resource_type = 2;
        Specified by:
        getResourceType in interface OperationOrBuilder
        Returns:
        The resourceType.
      • getResourceTypeBytes

        public com.google.protobuf.ByteString getResourceTypeBytes()
         Type of GCP resource being modified/tested. This field is always populated.
         Example: cloudresourcemanager.googleapis.com/Project,
         compute.googleapis.com/Instance
         
        string resource_type = 2;
        Specified by:
        getResourceTypeBytes in interface OperationOrBuilder
        Returns:
        The bytes for resourceType.
      • getResource

        public String getResource()
         Contains the fully qualified resource name. This field is always populated.
         ex: //cloudresourcemanager.googleapis.com/projects/foo.
         
        string resource = 3;
        Specified by:
        getResource in interface OperationOrBuilder
        Returns:
        The resource.
      • getResourceBytes

        public com.google.protobuf.ByteString getResourceBytes()
         Contains the fully qualified resource name. This field is always populated.
         ex: //cloudresourcemanager.googleapis.com/projects/foo.
         
        string resource = 3;
        Specified by:
        getResourceBytes in interface OperationOrBuilder
        Returns:
        The bytes for resource.
      • getPath

        public String getPath()
         Path to the target field being operated on. If the operation is at the
         resource level, then path should be "/". This field is always populated.
         
        string path = 4;
        Specified by:
        getPath in interface OperationOrBuilder
        Returns:
        The path.
      • getPathBytes

        public com.google.protobuf.ByteString getPathBytes()
         Path to the target field being operated on. If the operation is at the
         resource level, then path should be "/". This field is always populated.
         
        string path = 4;
        Specified by:
        getPathBytes in interface OperationOrBuilder
        Returns:
        The bytes for path.
      • getSourceResource

        public String getSourceResource()
         Can be set with action 'copy' to copy resource configuration across
         different resources of the same type. Example: A resource clone can be
         done via action = 'copy', path = "/", from = "/",
         source_resource = <source> and resource_name = <target>.
         This field is empty for all other values of `action`.
         
        string source_resource = 5;
        Specified by:
        getSourceResource in interface OperationOrBuilder
        Returns:
        The sourceResource.
      • getSourceResourceBytes

        public com.google.protobuf.ByteString getSourceResourceBytes()
         Can be set with action 'copy' to copy resource configuration across
         different resources of the same type. Example: A resource clone can be
         done via action = 'copy', path = "/", from = "/",
         source_resource = <source> and resource_name = <target>.
         This field is empty for all other values of `action`.
         
        string source_resource = 5;
        Specified by:
        getSourceResourceBytes in interface OperationOrBuilder
        Returns:
        The bytes for sourceResource.
      • getSourcePath

        public String getSourcePath()
         Can be set with action 'copy' or 'move' to indicate the source field within
         resource or source_resource, ignored if provided for other operation types.
         
        string source_path = 6;
        Specified by:
        getSourcePath in interface OperationOrBuilder
        Returns:
        The sourcePath.
      • getSourcePathBytes

        public com.google.protobuf.ByteString getSourcePathBytes()
         Can be set with action 'copy' or 'move' to indicate the source field within
         resource or source_resource, ignored if provided for other operation types.
         
        string source_path = 6;
        Specified by:
        getSourcePathBytes in interface OperationOrBuilder
        Returns:
        The bytes for sourcePath.
      • hasValue

        public boolean hasValue()
         Value for the `path` field. Will be set for actions:'add'/'replace'.
         Maybe set for action: 'test'. Either this or `value_matcher` will be set
         for 'test' operation. An exact match must be performed.
         
        .google.protobuf.Value value = 7;
        Specified by:
        hasValue in interface OperationOrBuilder
        Returns:
        Whether the value field is set.
      • getValue

        public com.google.protobuf.Value getValue()
         Value for the `path` field. Will be set for actions:'add'/'replace'.
         Maybe set for action: 'test'. Either this or `value_matcher` will be set
         for 'test' operation. An exact match must be performed.
         
        .google.protobuf.Value value = 7;
        Specified by:
        getValue in interface OperationOrBuilder
        Returns:
        The value.
      • getValueOrBuilder

        public com.google.protobuf.ValueOrBuilder getValueOrBuilder()
         Value for the `path` field. Will be set for actions:'add'/'replace'.
         Maybe set for action: 'test'. Either this or `value_matcher` will be set
         for 'test' operation. An exact match must be performed.
         
        .google.protobuf.Value value = 7;
        Specified by:
        getValueOrBuilder in interface OperationOrBuilder
      • hasValueMatcher

        public boolean hasValueMatcher()
         Can be set for action 'test' for advanced matching for the value of
         'path' field. Either this or `value` will be set for 'test' operation.
         
        .google.cloud.recommender.v1beta1.ValueMatcher value_matcher = 10;
        Specified by:
        hasValueMatcher in interface OperationOrBuilder
        Returns:
        Whether the valueMatcher field is set.
      • getValueMatcher

        public ValueMatcher getValueMatcher()
         Can be set for action 'test' for advanced matching for the value of
         'path' field. Either this or `value` will be set for 'test' operation.
         
        .google.cloud.recommender.v1beta1.ValueMatcher value_matcher = 10;
        Specified by:
        getValueMatcher in interface OperationOrBuilder
        Returns:
        The valueMatcher.
      • getValueMatcherOrBuilder

        public ValueMatcherOrBuilder getValueMatcherOrBuilder()
         Can be set for action 'test' for advanced matching for the value of
         'path' field. Either this or `value` will be set for 'test' operation.
         
        .google.cloud.recommender.v1beta1.ValueMatcher value_matcher = 10;
        Specified by:
        getValueMatcherOrBuilder in interface OperationOrBuilder
      • getPathFiltersCount

        public int getPathFiltersCount()
        Description copied from interface: OperationOrBuilder
         Set of filters to apply if `path` refers to array elements or nested array
         elements in order to narrow down to a single unique element that is being
         tested/modified.
         This is intended to be an exact match per filter. To perform advanced
         matching, use path_value_matchers.
        
         * Example:
         ```
         {
           "/versions/*/name" : "it-123"
           "/versions/*/targetSize/percent": 20
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/condition" : null
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/members/*" : ["x@example.com", "y@example.com"]
         }
         ```
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.protobuf.Value> path_filters = 8;
        Specified by:
        getPathFiltersCount in interface OperationOrBuilder
      • containsPathFilters

        public boolean containsPathFilters​(String key)
         Set of filters to apply if `path` refers to array elements or nested array
         elements in order to narrow down to a single unique element that is being
         tested/modified.
         This is intended to be an exact match per filter. To perform advanced
         matching, use path_value_matchers.
        
         * Example:
         ```
         {
           "/versions/*/name" : "it-123"
           "/versions/*/targetSize/percent": 20
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/condition" : null
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/members/*" : ["x@example.com", "y@example.com"]
         }
         ```
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.protobuf.Value> path_filters = 8;
        Specified by:
        containsPathFilters in interface OperationOrBuilder
      • getPathFiltersMap

        public Map<String,​com.google.protobuf.Value> getPathFiltersMap()
         Set of filters to apply if `path` refers to array elements or nested array
         elements in order to narrow down to a single unique element that is being
         tested/modified.
         This is intended to be an exact match per filter. To perform advanced
         matching, use path_value_matchers.
        
         * Example:
         ```
         {
           "/versions/*/name" : "it-123"
           "/versions/*/targetSize/percent": 20
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/condition" : null
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/members/*" : ["x@example.com", "y@example.com"]
         }
         ```
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.protobuf.Value> path_filters = 8;
        Specified by:
        getPathFiltersMap in interface OperationOrBuilder
      • getPathFiltersOrDefault

        public com.google.protobuf.Value getPathFiltersOrDefault​(String key,
                                                                 com.google.protobuf.Value defaultValue)
         Set of filters to apply if `path` refers to array elements or nested array
         elements in order to narrow down to a single unique element that is being
         tested/modified.
         This is intended to be an exact match per filter. To perform advanced
         matching, use path_value_matchers.
        
         * Example:
         ```
         {
           "/versions/*/name" : "it-123"
           "/versions/*/targetSize/percent": 20
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/condition" : null
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/members/*" : ["x@example.com", "y@example.com"]
         }
         ```
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.protobuf.Value> path_filters = 8;
        Specified by:
        getPathFiltersOrDefault in interface OperationOrBuilder
      • getPathFiltersOrThrow

        public com.google.protobuf.Value getPathFiltersOrThrow​(String key)
         Set of filters to apply if `path` refers to array elements or nested array
         elements in order to narrow down to a single unique element that is being
         tested/modified.
         This is intended to be an exact match per filter. To perform advanced
         matching, use path_value_matchers.
        
         * Example:
         ```
         {
           "/versions/*/name" : "it-123"
           "/versions/*/targetSize/percent": 20
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/condition" : null
         }
         ```
         * Example:
         ```
         {
           "/bindings/*/role": "roles/owner"
           "/bindings/*/members/*" : ["x@example.com", "y@example.com"]
         }
         ```
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.protobuf.Value> path_filters = 8;
        Specified by:
        getPathFiltersOrThrow in interface OperationOrBuilder
      • getPathValueMatchersCount

        public int getPathValueMatchersCount()
        Description copied from interface: OperationOrBuilder
         Similar to path_filters, this contains set of filters to apply if `path`
         field refers to array elements. This is meant to support value matching
         beyond exact match. To perform exact match, use path_filters.
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.cloud.recommender.v1beta1.ValueMatcher> path_value_matchers = 11;
        Specified by:
        getPathValueMatchersCount in interface OperationOrBuilder
      • containsPathValueMatchers

        public boolean containsPathValueMatchers​(String key)
         Similar to path_filters, this contains set of filters to apply if `path`
         field refers to array elements. This is meant to support value matching
         beyond exact match. To perform exact match, use path_filters.
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.cloud.recommender.v1beta1.ValueMatcher> path_value_matchers = 11;
        Specified by:
        containsPathValueMatchers in interface OperationOrBuilder
      • getPathValueMatchersMap

        public Map<String,​ValueMatcher> getPathValueMatchersMap()
         Similar to path_filters, this contains set of filters to apply if `path`
         field refers to array elements. This is meant to support value matching
         beyond exact match. To perform exact match, use path_filters.
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.cloud.recommender.v1beta1.ValueMatcher> path_value_matchers = 11;
        Specified by:
        getPathValueMatchersMap in interface OperationOrBuilder
      • getPathValueMatchersOrDefault

        public ValueMatcher getPathValueMatchersOrDefault​(String key,
                                                          ValueMatcher defaultValue)
         Similar to path_filters, this contains set of filters to apply if `path`
         field refers to array elements. This is meant to support value matching
         beyond exact match. To perform exact match, use path_filters.
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.cloud.recommender.v1beta1.ValueMatcher> path_value_matchers = 11;
        Specified by:
        getPathValueMatchersOrDefault in interface OperationOrBuilder
      • getPathValueMatchersOrThrow

        public ValueMatcher getPathValueMatchersOrThrow​(String key)
         Similar to path_filters, this contains set of filters to apply if `path`
         field refers to array elements. This is meant to support value matching
         beyond exact match. To perform exact match, use path_filters.
         When both path_filters and path_value_matchers are set, an implicit AND
         must be performed.
         
        map<string, .google.cloud.recommender.v1beta1.ValueMatcher> path_value_matchers = 11;
        Specified by:
        getPathValueMatchersOrThrow in interface OperationOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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​(com.google.protobuf.CodedInputStream input,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Operation.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Operation.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Operation.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.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 interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Operation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder