public interface SchemaOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getDefinition()
The definition of the schema.
|
com.google.protobuf.ByteString |
getDefinitionBytes()
The definition of the schema.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
Schema.Type |
getType()
The type of the schema definition.
|
int |
getTypeValue()
The type of the schema definition.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. Name of the schema.
Format is `projects/{project}/schemas/{schema}`.
string name = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getNameBytes()
Required. Name of the schema.
Format is `projects/{project}/schemas/{schema}`.
string name = 1 [(.google.api.field_behavior) = REQUIRED];int getTypeValue()
The type of the schema definition.
.google.pubsub.v1.Schema.Type type = 2;Schema.Type getType()
The type of the schema definition.
.google.pubsub.v1.Schema.Type type = 2;String getDefinition()
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`.
string definition = 3;com.google.protobuf.ByteString getDefinitionBytes()
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`.
string definition = 3;Copyright © 2022 Google LLC. All rights reserved.