final case class CreateSchemaRequest(parent: String = "", schema: Option[Schema] = _root_.scala.None, schemaId: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[CreateSchemaRequest] with Product with Serializable
Request for the CreateSchema method.
- parent
Required. The name of the project in which to create the schema. Format is
projects/{project-id}
.- schema
Required. The schema object to create. This schema's
name
parameter is ignored. The schema object returned by CreateSchema will have aname
made using the givenparent
andschema_id
.- schemaId
The ID to use for the schema, which will become the final component of the schema's resource name. See https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names for resource name constraints.
- Annotations
- @SerialVersionUID()
- Source
- CreateSchemaRequest.scala
- Alphabetic
- By Inheritance
- CreateSchemaRequest
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CreateSchemaRequest(parent: String = "", schema: Option[Schema] = _root_.scala.None, schemaId: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- parent
Required. The name of the project in which to create the schema. Format is
projects/{project-id}
.- schema
Required. The schema object to create. This schema's
name
parameter is ignored. The schema object returned by CreateSchema will have aname
made using the givenparent
andschema_id
.- schemaId
The ID to use for the schema, which will become the final component of the schema's resource name. See https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names for resource name constraints.
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 clearSchema: CreateSchemaRequest
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: CreateSchemaRequest.type
- Definition Classes
- CreateSchemaRequest → GeneratedMessage
- def discardUnknownFields: CreateSchemaRequest
- 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[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- CreateSchemaRequest → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- CreateSchemaRequest → GeneratedMessage
- def getSchema: Schema
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 parent: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val schema: Option[Schema]
- val schemaId: String
- def serializedSize: Int
- Definition Classes
- CreateSchemaRequest → 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
- CreateSchemaRequest → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[CreateSchemaRequest, CreateSchemaRequest]) => Mutation[CreateSchemaRequest]*): CreateSchemaRequest
- Definition Classes
- Updatable
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withParent(__v: String): CreateSchemaRequest
- def withSchema(__v: Schema): CreateSchemaRequest
- def withSchemaId(__v: String): CreateSchemaRequest
- def withUnknownFields(__v: UnknownFieldSet): CreateSchemaRequest
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- CreateSchemaRequest → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage