Package

com.google.pubsub.v1

schema

Permalink

package schema

Visibility
  1. Public
  2. All

Type Members

  1. final case class CreateSchemaRequest(parent: String = "", schema: Option[Schema] = _root_.scala.None, schemaId: String = "") extends GeneratedMessage with Message[CreateSchemaRequest] with Updatable[CreateSchemaRequest] with Product with Serializable

    Permalink

    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 name parameter is ignored. The schema object returned by CreateSchema will have a name made using the given parent and schema_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()
  2. final case class DeleteSchemaRequest(name: String = "") extends GeneratedMessage with Message[DeleteSchemaRequest] with Updatable[DeleteSchemaRequest] with Product with Serializable

    Permalink

    Request for the DeleteSchema method.

    Request for the DeleteSchema method.

    name

    Required. Name of the schema to delete. Format is projects/{project}/schemas/{schema}.

    Annotations
    @SerialVersionUID()
  3. sealed trait Encoding extends GeneratedEnum

    Permalink

    Possible encoding types for messages.

  4. final case class GetSchemaRequest(name: String = "", view: SchemaView = ...) extends GeneratedMessage with Message[GetSchemaRequest] with Updatable[GetSchemaRequest] with Product with Serializable

    Permalink

    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 name and type, but not definition. Set to FULL to retrieve all fields.

    Annotations
    @SerialVersionUID()
  5. final case class ListSchemasRequest(parent: String = "", view: SchemaView = ..., pageSize: Int = 0, pageToken: String = "") extends GeneratedMessage with Message[ListSchemasRequest] with Updatable[ListSchemasRequest] with Product with Serializable

    Permalink

    Request for the ListSchemas method.

    Request for the ListSchemas method.

    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 name and type, but not definition. Set to FULL to 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 prior ListSchemas call, and that the system should return the next page of data.

    Annotations
    @SerialVersionUID()
  6. final case class ListSchemasResponse(schemas: Seq[Schema] = _root_.scala.Seq.empty, nextPageToken: String = "") extends GeneratedMessage with Message[ListSchemasResponse] with Updatable[ListSchemasResponse] with Product with Serializable

    Permalink

    Response for the ListSchemas method.

    Response for the ListSchemas method.

    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()
  7. final case class Schema(name: String = "", type: Type = ..., definition: String = "") extends GeneratedMessage with Message[Schema] with Updatable[Schema] with Product with Serializable

    Permalink

    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()
  8. sealed trait SchemaView extends GeneratedEnum

    Permalink

    View of Schema object fields to be returned by GetSchema and ListSchemas.

  9. final case class ValidateMessageRequest(parent: String = "", message: ByteString = ..., encoding: Encoding = ..., schemaSpec: SchemaSpec = ...) extends GeneratedMessage with Message[ValidateMessageRequest] with Updatable[ValidateMessageRequest] with Product with Serializable

    Permalink

    Request for the ValidateMessage method.

    Request for the ValidateMessage method.

    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()
  10. final case class ValidateMessageResponse() extends GeneratedMessage with Message[ValidateMessageResponse] with Updatable[ValidateMessageResponse] with Product with Serializable

    Permalink

    Response for the ValidateMessage method.

    Response for the ValidateMessage method. Empty for now.

    Annotations
    @SerialVersionUID()
  11. final case class ValidateSchemaRequest(parent: String = "", schema: Option[Schema] = _root_.scala.None) extends GeneratedMessage with Message[ValidateSchemaRequest] with Updatable[ValidateSchemaRequest] with Product with Serializable

    Permalink

    Request for the ValidateSchema method.

    Request for the ValidateSchema method.

    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()
  12. final case class ValidateSchemaResponse() extends GeneratedMessage with Message[ValidateSchemaResponse] with Updatable[ValidateSchemaResponse] with Product with Serializable

    Permalink

    Response for the ValidateSchema method.

    Response for the ValidateSchema method. Empty for now.

    Annotations
    @SerialVersionUID()

Value Members

  1. object CreateSchemaRequest extends GeneratedMessageCompanion[CreateSchemaRequest] with JavaProtoSupport[CreateSchemaRequest, v1.CreateSchemaRequest] with Serializable

    Permalink
  2. object DeleteSchemaRequest extends GeneratedMessageCompanion[DeleteSchemaRequest] with JavaProtoSupport[DeleteSchemaRequest, v1.DeleteSchemaRequest] with Serializable

    Permalink
  3. object Encoding extends GeneratedEnumCompanion[Encoding] with Serializable

    Permalink
  4. object GetSchemaRequest extends GeneratedMessageCompanion[GetSchemaRequest] with JavaProtoSupport[GetSchemaRequest, v1.GetSchemaRequest] with Serializable

    Permalink
  5. object ListSchemasRequest extends GeneratedMessageCompanion[ListSchemasRequest] with JavaProtoSupport[ListSchemasRequest, v1.ListSchemasRequest] with Serializable

    Permalink
  6. object ListSchemasResponse extends GeneratedMessageCompanion[ListSchemasResponse] with JavaProtoSupport[ListSchemasResponse, v1.ListSchemasResponse] with Serializable

    Permalink
  7. object Schema extends GeneratedMessageCompanion[Schema] with JavaProtoSupport[Schema, v1.Schema] with Serializable

    Permalink
  8. object SchemaProto extends GeneratedFileObject

    Permalink
  9. object SchemaView extends GeneratedEnumCompanion[SchemaView] with Serializable

    Permalink
  10. object ValidateMessageRequest extends GeneratedMessageCompanion[ValidateMessageRequest] with JavaProtoSupport[ValidateMessageRequest, v1.ValidateMessageRequest] with Serializable

    Permalink
  11. object ValidateMessageResponse extends GeneratedMessageCompanion[ValidateMessageResponse] with JavaProtoSupport[ValidateMessageResponse, v1.ValidateMessageResponse] with Serializable

    Permalink
  12. object ValidateSchemaRequest extends GeneratedMessageCompanion[ValidateSchemaRequest] with JavaProtoSupport[ValidateSchemaRequest, v1.ValidateSchemaRequest] with Serializable

    Permalink
  13. object ValidateSchemaResponse extends GeneratedMessageCompanion[ValidateSchemaResponse] with JavaProtoSupport[ValidateSchemaResponse, v1.ValidateSchemaResponse] with Serializable

    Permalink

Ungrouped