public static final class DeleteTopicRequest.Builder extends GeneratedMessageV3.Builder<DeleteTopicRequest.Builder> implements DeleteTopicRequestOrBuilder
Request for DeleteTopic.
Protobuf type google.cloud.pubsublite.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 |
clearName()
public DeleteTopicRequest.Builder clearName()
Required. The name of the topic to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
DeleteTopicRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteTopicRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DeleteTopicRequest.Builder |
clone()
public DeleteTopicRequest.Builder clone()
Type | Description |
DeleteTopicRequest.Builder |
getDefaultInstanceForType()
public DeleteTopicRequest getDefaultInstanceForType()
Type | Description |
DeleteTopicRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Required. The name of the topic to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The name of the topic to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(DeleteTopicRequest other)
public DeleteTopicRequest.Builder mergeFrom(DeleteTopicRequest other)
Name | Description |
other | DeleteTopicRequest |
Type | Description |
DeleteTopicRequest.Builder |
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 |
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 |
setName(String value)
public DeleteTopicRequest.Builder setName(String value)
Required. The name of the topic to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
DeleteTopicRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public DeleteTopicRequest.Builder setNameBytes(ByteString value)
Required. The name of the topic to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
DeleteTopicRequest.Builder | This builder for chaining. |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteTopicRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteTopicRequest.Builder |