Interface DeleteSchemaRevisionRequestOrBuilder (1.132.0)

public interface DeleteSchemaRevisionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.

getRevisionId() (deprecated)

public abstract 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
Type Description
String

The revisionId.

getRevisionIdBytes() (deprecated)

public abstract 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
Type Description
ByteString

The bytes for revisionId.