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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      Schema getSchema()
      Required.
      SchemaOrBuilder getSchemaOrBuilder()
      Required.
      boolean hasSchema()
      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 Detail

      • 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];