Interface CommitSchemaRequestOrBuilder (1.126.6)

public interface CommitSchemaRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. The name of the schema we are revising. Format is projects/{project}/schemas/{schema}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the schema we are revising. Format is projects/{project}/schemas/{schema}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getSchema()

public abstract Schema getSchema()

Required. The schema revision to commit.

.google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Schema

The schema.

getSchemaOrBuilder()

public abstract SchemaOrBuilder getSchemaOrBuilder()

Required. The schema revision to commit.

.google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SchemaOrBuilder

hasSchema()

public abstract boolean hasSchema()

Required. The schema revision to commit.

.google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the schema field is set.