public interface SchemaOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDefinition()
public abstract 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;
| Type | Description |
| String | The definition. |
getDefinitionBytes()
public abstract 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;
| Type | Description |
| ByteString | The bytes for definition. |
getName()
public abstract String getName() Required. Name of the schema.
Format is projects/{project}/schemas/{schema}.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| String | The name. |
getNameBytes()
public abstract ByteString getNameBytes() Required. Name of the schema.
Format is projects/{project}/schemas/{schema}.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ByteString | The bytes for name. |
getType()
public abstract Schema.Type getType()The type of the schema definition.
.google.pubsub.v1.Schema.Type type = 2;
| Type | Description |
| Schema.Type | The type. |
getTypeValue()
public abstract int getTypeValue()The type of the schema definition.
.google.pubsub.v1.Schema.Type type = 2;
| Type | Description |
| int | The enum numeric value on the wire for type. |