package schema
- Alphabetic
- Public
- Protected
Type Members
- 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.
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
nameparameter is ignored. The schema object returned by CreateSchema will have anamemade using the givenparentandschema_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/admin#resource_names for resource name constraints.
- Annotations
- @SerialVersionUID()
- final case class DeleteSchemaRequest(name: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[DeleteSchemaRequest] with Product with Serializable
Request for the
DeleteSchemamethod.Request for the
DeleteSchemamethod.- name
Required. Name of the schema to delete. Format is
projects/{project}/schemas/{schema}.
- Annotations
- @SerialVersionUID()
- sealed abstract class Encoding extends GeneratedEnum
Possible encoding types for messages.
- final case class GetSchemaRequest(name: String = "", view: SchemaView = com.google.pubsub.v1.schema.SchemaView.SCHEMA_VIEW_UNSPECIFIED, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[GetSchemaRequest] with Product with Serializable
Request for the GetSchema method.
Request for the GetSchema method.
- name
Required. The name of the schema to get. Format is
projects/{project}/schemas/{schema}.- view
The set of fields to return in the response. If not set, returns a Schema with
nameandtype, but notdefinition. Set toFULLto retrieve all fields.
- Annotations
- @SerialVersionUID()
- final case class ListSchemasRequest(parent: String = "", view: SchemaView = com.google.pubsub.v1.schema.SchemaView.SCHEMA_VIEW_UNSPECIFIED, pageSize: Int = 0, pageToken: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ListSchemasRequest] with Product with Serializable
Request for the
ListSchemasmethod.Request for the
ListSchemasmethod.- parent
Required. The name of the project in which to list schemas. Format is
projects/{project-id}.- view
The set of Schema fields to return in the response. If not set, returns Schemas with
nameandtype, but notdefinition. Set toFULLto retrieve all fields.- pageSize
Maximum number of schemas to return.
- pageToken
The value returned by the last
ListSchemasResponse; indicates that this is a continuation of a priorListSchemascall, and that the system should return the next page of data.
- Annotations
- @SerialVersionUID()
- final case class ListSchemasResponse(schemas: Seq[Schema] = _root_.scala.Seq.empty, nextPageToken: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ListSchemasResponse] with Product with Serializable
Response for the
ListSchemasmethod.Response for the
ListSchemasmethod.- schemas
The resulting schemas.
- nextPageToken
If not empty, indicates that there may be more schemas that match the request; this value should be passed in a new
ListSchemasRequest.
- Annotations
- @SerialVersionUID()
- final case class Schema(name: String = "", type: Type = com.google.pubsub.v1.schema.Schema.Type.TYPE_UNSPECIFIED, definition: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[Schema] with Product with Serializable
A schema resource.
A schema resource.
- name
Required. Name of the schema. Format is
projects/{project}/schemas/{schema}.- type
The type of the schema definition.
- definition
The definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in
type.
- Annotations
- @SerialVersionUID()
- trait SchemaService extends AnyRef
Service for doing schema-related operations.
Service for doing schema-related operations.
- Annotations
- @PekkoGrpcGenerated()
- trait SchemaServiceClient extends SchemaService with SchemaServiceClientPowerApi with PekkoGrpcClient
- Annotations
- @PekkoGrpcGenerated()
- trait SchemaServiceClientPowerApi extends AnyRef
- Annotations
- @PekkoGrpcGenerated()
- sealed abstract class SchemaView extends GeneratedEnum
View of Schema object fields to be returned by GetSchema and ListSchemas.
- final case class ValidateMessageRequest(parent: String = "", schemaSpec: SchemaSpec = com.google.pubsub.v1.schema.ValidateMessageRequest.SchemaSpec.Empty, message: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, encoding: Encoding = com.google.pubsub.v1.schema.Encoding.ENCODING_UNSPECIFIED, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ValidateMessageRequest] with Product with Serializable
Request for the
ValidateMessagemethod.Request for the
ValidateMessagemethod.- parent
Required. The name of the project in which to validate schemas. Format is
projects/{project-id}.- message
Message to validate against the provided
schema_spec.- encoding
The encoding expected for messages
- Annotations
- @SerialVersionUID()
- final case class ValidateMessageResponse(unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ValidateMessageResponse] with Product with Serializable
Response for the
ValidateMessagemethod.Response for the
ValidateMessagemethod.- Annotations
- @SerialVersionUID()
- final case class ValidateSchemaRequest(parent: String = "", schema: Option[Schema] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ValidateSchemaRequest] with Product with Serializable
Request for the
ValidateSchemamethod.Request for the
ValidateSchemamethod.- parent
Required. The name of the project in which to validate schemas. Format is
projects/{project-id}.- schema
Required. The schema object to validate.
- Annotations
- @SerialVersionUID()
- final case class ValidateSchemaResponse(unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ValidateSchemaResponse] with Product with Serializable
Response for the
ValidateSchemamethod.Response for the
ValidateSchemamethod.- Annotations
- @SerialVersionUID()
Value Members
- object CreateSchemaRequest extends GeneratedMessageCompanion[CreateSchemaRequest]
- object DeleteSchemaRequest extends GeneratedMessageCompanion[DeleteSchemaRequest]
- object Encoding extends GeneratedEnumCompanion[Encoding]
- object GetSchemaRequest extends GeneratedMessageCompanion[GetSchemaRequest]
- object ListSchemasRequest extends GeneratedMessageCompanion[ListSchemasRequest]
- object ListSchemasResponse extends GeneratedMessageCompanion[ListSchemasResponse]
- object Schema extends GeneratedMessageCompanion[Schema]
- object SchemaProto extends GeneratedFileObject
- object SchemaService extends ServiceDescription
- Annotations
- @PekkoGrpcGenerated()
- object SchemaServiceClient
- Annotations
- @PekkoGrpcGenerated()
- object SchemaView extends GeneratedEnumCompanion[SchemaView]
- object ValidateMessageRequest extends GeneratedMessageCompanion[ValidateMessageRequest]
- object ValidateMessageResponse extends GeneratedMessageCompanion[ValidateMessageResponse]
- object ValidateSchemaRequest extends GeneratedMessageCompanion[ValidateSchemaRequest]
- object ValidateSchemaResponse extends GeneratedMessageCompanion[ValidateSchemaResponse]