public static final class DeleteTopicRequest.Builder extends GeneratedMessageV3.Builder<DeleteTopicRequest.Builder> implements DeleteTopicRequestOrBuilder
Request for the DeleteTopic
method.
Protobuf type google.pubsub.v1.DeleteTopicRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeleteTopicRequest.BuilderImplements
DeleteTopicRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteTopicRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteTopicRequest.Builder |
build()
public DeleteTopicRequest build()
Type | Description |
DeleteTopicRequest |
buildPartial()
public DeleteTopicRequest buildPartial()
Type | Description |
DeleteTopicRequest |
clear()
public DeleteTopicRequest.Builder clear()
Type | Description |
DeleteTopicRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public DeleteTopicRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DeleteTopicRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteTopicRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DeleteTopicRequest.Builder |
clearTopic()
public DeleteTopicRequest.Builder clearTopic()
Required. Name of the topic to delete.
Format is projects/{project}/topics/{topic}
.
string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
DeleteTopicRequest.Builder | This builder for chaining. |
clone()
public DeleteTopicRequest.Builder clone()
Type | Description |
DeleteTopicRequest.Builder |
getDefaultInstanceForType()
public DeleteTopicRequest getDefaultInstanceForType()
Type | Description |
DeleteTopicRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getTopic()
public String getTopic()
Required. Name of the topic to delete.
Format is projects/{project}/topics/{topic}
.
string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The topic. |
getTopicBytes()
public ByteString getTopicBytes()
Required. Name of the topic to delete.
Format is projects/{project}/topics/{topic}
.
string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for topic. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteTopicRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteTopicRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DeleteTopicRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DeleteTopicRequest.Builder |
mergeFrom(DeleteTopicRequest other)
public DeleteTopicRequest.Builder mergeFrom(DeleteTopicRequest other)
Name | Description |
other | DeleteTopicRequest |
Type | Description |
DeleteTopicRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteTopicRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteTopicRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteTopicRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteTopicRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeleteTopicRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DeleteTopicRequest.Builder |
setTopic(String value)
public DeleteTopicRequest.Builder setTopic(String value)
Required. Name of the topic to delete.
Format is projects/{project}/topics/{topic}
.
string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The topic to set. |
Type | Description |
DeleteTopicRequest.Builder | This builder for chaining. |
setTopicBytes(ByteString value)
public DeleteTopicRequest.Builder setTopicBytes(ByteString value)
Required. Name of the topic to delete.
Format is projects/{project}/topics/{topic}
.
string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for topic to set. |
Type | Description |
DeleteTopicRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteTopicRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteTopicRequest.Builder |