Reference documentation and code samples for the Google Cloud Managed Kafka Schema Registry V1 Client class CheckCompatibilityResponse.
Response for CheckCompatibility.
Generated from protobuf message google.cloud.managedkafka.schemaregistry.v1.CheckCompatibilityResponse
Namespace
Google \ Cloud \ ManagedKafka \ SchemaRegistry \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ is_compatible |
bool
The compatibility check result. If true, the schema is compatible with the resource. |
↳ messages |
array
Failure reasons if verbose = true. |
getIsCompatible
The compatibility check result. If true, the schema is compatible with the resource.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setIsCompatible
The compatibility check result. If true, the schema is compatible with the resource.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMessages
Failure reasons if verbose = true.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setMessages
Failure reasons if verbose = true.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|