| Package | Description |
|---|---|
| com.google.api.services.pubsub.model |
| Modifier and Type | Method and Description |
|---|---|
SchemaSettings |
SchemaSettings.clone() |
SchemaSettings |
Topic.getSchemaSettings()
Settings for validating messages published against a schema.
|
SchemaSettings |
SchemaSettings.set(String fieldName,
Object value) |
SchemaSettings |
SchemaSettings.setEncoding(String encoding)
The encoding of messages validated against `schema`.
|
SchemaSettings |
SchemaSettings.setFirstRevisionId(String firstRevisionId)
The minimum (inclusive) revision allowed for validating messages.
|
SchemaSettings |
SchemaSettings.setLastRevisionId(String lastRevisionId)
The maximum (inclusive) revision allowed for validating messages.
|
SchemaSettings |
SchemaSettings.setSchema(String schema)
Required.
|
| Modifier and Type | Method and Description |
|---|---|
Topic |
Topic.setSchemaSettings(SchemaSettings schemaSettings)
Settings for validating messages published against a schema.
|
Copyright © 2011–2022 Google. All rights reserved.