Interface GetSchemaRequestOrBuilder (1.118.0)

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
TypeDescription
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
TypeDescription
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 name and type, but not definition. Set to FULL to retrieve all fields.

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

Returns
TypeDescription
SchemaView

The view.

getViewValue()

public abstract int getViewValue()

The set of fields to return in the response. If not set, returns a Schema with name and type, but not definition. Set to FULL to retrieve all fields.

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

Returns
TypeDescription
int

The enum numeric value on the wire for view.