CreateStreamRequest

com.google.cloud.datastream.v1.datastream.CreateStreamRequest
See theCreateStreamRequest companion object
final case class CreateStreamRequest(parent: String, streamId: String, stream: Option[Stream], requestId: String, validateOnly: Boolean, force: Boolean, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[CreateStreamRequest]

Request message for creating a stream.

Value parameters

force

Optional. Create the stream without validating it.

parent

Required. The parent that owns the collection of streams.

requestId

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

stream

Required. The stream resource to create.

streamId

Required. The stream identifier.

validateOnly

Optional. Only validate the stream, but don't create any resources. The default is false.

Attributes

Companion
object
Source
CreateStreamRequest.scala
Graph
Supertypes
trait Updatable[CreateStreamRequest]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
CreateStreamRequest.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
CreateStreamRequest.scala

Attributes

Source
CreateStreamRequest.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
CreateStreamRequest.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
CreateStreamRequest.scala
def withUnknownFields(`__v`: UnknownFieldSet): CreateStreamRequest

Attributes

Source
CreateStreamRequest.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
CreateStreamRequest.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala