Interface CommitSchemaRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    boolean
    Required.

    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 we are revising.
       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 we are revising.
       Format is `projects/{project}/schemas/{schema}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • hasSchema

      boolean hasSchema()
       Required. The schema revision to commit.
       
      .google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the schema field is set.
    • getSchema

      Schema getSchema()
       Required. The schema revision to commit.
       
      .google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The schema.
    • getSchemaOrBuilder

      SchemaOrBuilder getSchemaOrBuilder()
       Required. The schema revision to commit.
       
      .google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];