Interface GetSchemaRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GetSchemaRequest, GetSchemaRequest.Builder

public interface GetSchemaRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    The set of fields to return in the response.
    int
    The set of fields to return in the response.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      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:
      The name.
    • getNameBytes

      com.google.protobuf.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:
      The bytes for name.
    • getViewValue

      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:
      The enum numeric value on the wire for view.
    • getView

      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:
      The view.