Interface ValidateSchemaRequestOrBuilder (1.135.0)

public interface ValidateSchemaRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The name of the project in which to validate schemas. Format is projects/{project-id}.

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The name of the project in which to validate schemas. Format is projects/{project-id}.

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

Returns
Type Description
ByteString

The bytes for parent.

getSchema()

public abstract Schema getSchema()

Required. The schema object to validate.

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

Returns
Type Description
Schema

The schema.

getSchemaOrBuilder()

public abstract SchemaOrBuilder getSchemaOrBuilder()

Required. The schema object to validate.

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

Returns
Type Description
SchemaOrBuilder

hasSchema()

public abstract boolean hasSchema()

Required. The schema object to validate.

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

Returns
Type Description
boolean

Whether the schema field is set.