public static final class DeleteSchemaRevisionRequest.Builder extends GeneratedMessage.Builder<DeleteSchemaRevisionRequest.Builder> implements DeleteSchemaRevisionRequestOrBuilder Request for the DeleteSchemaRevision method.
Protobuf type google.pubsub.v1.DeleteSchemaRevisionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteSchemaRevisionRequest.BuilderImplements
DeleteSchemaRevisionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeleteSchemaRevisionRequest build()| Returns | |
|---|---|
| Type | Description |
DeleteSchemaRevisionRequest |
|
buildPartial()
public DeleteSchemaRevisionRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeleteSchemaRevisionRequest |
|
clear()
public DeleteSchemaRevisionRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeleteSchemaRevisionRequest.Builder |
|
clearName()
public DeleteSchemaRevisionRequest.Builder clearName()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 |
DeleteSchemaRevisionRequest.Builder |
This builder for chaining. |
clearRevisionId() (deprecated)
public DeleteSchemaRevisionRequest.Builder clearRevisionId()Deprecated. google.pubsub.v1.DeleteSchemaRevisionRequest.revision_id is deprecated. See google/pubsub/v1/schema.proto;l=330
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 |
DeleteSchemaRevisionRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeleteSchemaRevisionRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeleteSchemaRevisionRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public 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 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 String getRevisionId()Deprecated. google.pubsub.v1.DeleteSchemaRevisionRequest.revision_id is deprecated. See google/pubsub/v1/schema.proto;l=330
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 ByteString getRevisionIdBytes()Deprecated. google.pubsub.v1.DeleteSchemaRevisionRequest.revision_id is deprecated. See google/pubsub/v1/schema.proto;l=330
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteSchemaRevisionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeleteSchemaRevisionRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteSchemaRevisionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteSchemaRevisionRequest.Builder |
|
mergeFrom(DeleteSchemaRevisionRequest other)
public DeleteSchemaRevisionRequest.Builder mergeFrom(DeleteSchemaRevisionRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteSchemaRevisionRequest |
| Returns | |
|---|---|
| Type | Description |
DeleteSchemaRevisionRequest.Builder |
|
setName(String value)
public DeleteSchemaRevisionRequest.Builder setName(String value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteSchemaRevisionRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DeleteSchemaRevisionRequest.Builder setNameBytes(ByteString value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteSchemaRevisionRequest.Builder |
This builder for chaining. |
setRevisionId(String value) (deprecated)
public DeleteSchemaRevisionRequest.Builder setRevisionId(String value)Deprecated. google.pubsub.v1.DeleteSchemaRevisionRequest.revision_id is deprecated. See google/pubsub/v1/schema.proto;l=330
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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe revisionId to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteSchemaRevisionRequest.Builder |
This builder for chaining. |
setRevisionIdBytes(ByteString value) (deprecated)
public DeleteSchemaRevisionRequest.Builder setRevisionIdBytes(ByteString value)Deprecated. google.pubsub.v1.DeleteSchemaRevisionRequest.revision_id is deprecated. See google/pubsub/v1/schema.proto;l=330
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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for revisionId to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteSchemaRevisionRequest.Builder |
This builder for chaining. |