Interface DeleteSchemaRevisionRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Deprecated.
    google.pubsub.v1.DeleteSchemaRevisionRequest.revision_id is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    google.pubsub.v1.DeleteSchemaRevisionRequest.revision_id is deprecated.

    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 revision to be deleted, with a revision ID
       explicitly included.
      
       Example: `projects/123/schemas/my-schema@c7cfa2a8`
       
      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 revision to be deleted, with a revision ID
       explicitly included.
      
       Example: `projects/123/schemas/my-schema@c7cfa2a8`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • getRevisionId

      @Deprecated String getRevisionId()
      Deprecated.
      google.pubsub.v1.DeleteSchemaRevisionRequest.revision_id is deprecated. See google/pubsub/v1/schema.proto;l=331
       Optional. This field is deprecated and should not be used for specifying
       the revision ID. The revision ID should be specified via the `name`
       parameter.
       
      string revision_id = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The revisionId.
    • getRevisionIdBytes

      @Deprecated com.google.protobuf.ByteString getRevisionIdBytes()
      Deprecated.
      google.pubsub.v1.DeleteSchemaRevisionRequest.revision_id is deprecated. See google/pubsub/v1/schema.proto;l=331
       Optional. This field is deprecated and should not be used for specifying
       the revision ID. The revision ID should be specified via the `name`
       parameter.
       
      string revision_id = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for revisionId.