final case class Operation(name: String = "", metadata: Option[Any] = _root_.scala.None, done: Boolean = false, result: Result = ..., unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[Operation] with Product with Serializable
This resource represents a long-running operation that is the result of a network API call.
- name
The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the
nameshould have the format ofoperations/some/unique/name.- metadata
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
- done
If the value is
false, it means the operation is still in progress. Iftrue, the operation is completed, and eithererrororresponseis available.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- Operation
- Product
- Equals
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Operation(name: String = "", metadata: Option[Any] = _root_.scala.None, done: Boolean = false, result: Result = ..., unknownFields: UnknownFieldSet = ...)
- name
The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the
nameshould have the format ofoperations/some/unique/name.- metadata
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
- done
If the value is
false, it means the operation is still in progress. Iftrue, the operation is completed, and eithererrororresponseis available.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearMetadata: Operation
- def clearResult: Operation
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: Operation.type
- Definition Classes
- Operation → GeneratedMessage
- def discardUnknownFields: Operation
- val done: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getError: Status
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- Operation → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Operation → GeneratedMessage
- def getMetadata: Any
- def getResponse: Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val metadata: Option[Any]
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val result: Result
-
def
serializedSize: Int
- Definition Classes
- Operation → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- Operation → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[Operation, Operation]) ⇒ Mutation[Operation]*): Operation
- Definition Classes
- Updatable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withDone(__v: Boolean): Operation
- def withError(__v: Status): Operation
- def withMetadata(__v: Any): Operation
- def withName(__v: String): Operation
- def withResponse(__v: Any): Operation
- def withResult(__v: Result): Operation
- def withUnknownFields(__v: UnknownFieldSet): Operation
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Operation → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage