Interface ValidateSchemaRequestOrBuilder (1.120.0)

See more code actions.
public interface ValidateSchemaRequestOrBuilder extends MessageOrBuilder
MessageOrBuilder
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SchemaOrBuilder

hasSchema()

public abstract boolean hasSchema()

Required. The schema object to validate.

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

Returns
TypeDescription
boolean

Whether the schema field is set.