Interface GetSchemaRequestOrBuilder (1.134.2)

public interface GetSchemaRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. The name of the schema to get. Format is projects/{project}/schemas/{schema}.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the schema to get. Format is projects/{project}/schemas/{schema}.

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

Returns
Type Description
ByteString

The bytes for name.

getView()

public abstract SchemaView getView()

The set of fields to return in the response. If not set, returns a Schema with all fields filled out. Set to BASIC to omit the definition.

.google.pubsub.v1.SchemaView view = 2;

Returns
Type Description
SchemaView

The view.

getViewValue()

public abstract int getViewValue()

The set of fields to return in the response. If not set, returns a Schema with all fields filled out. Set to BASIC to omit the definition.

.google.pubsub.v1.SchemaView view = 2;

Returns
Type Description
int

The enum numeric value on the wire for view.