public static final class DeleteSubscriptionRequest.Builder extends GeneratedMessageV3.Builder<DeleteSubscriptionRequest.Builder> implements DeleteSubscriptionRequestOrBuilder
Request for DeleteSubscription.
Protobuf type google.cloud.pubsublite.v1.DeleteSubscriptionRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeleteSubscriptionRequest.BuilderImplements
DeleteSubscriptionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteSubscriptionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteSubscriptionRequest.Builder |
build()
public DeleteSubscriptionRequest build()
Type | Description |
DeleteSubscriptionRequest |
buildPartial()
public DeleteSubscriptionRequest buildPartial()
Type | Description |
DeleteSubscriptionRequest |
clear()
public DeleteSubscriptionRequest.Builder clear()
Type | Description |
DeleteSubscriptionRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public DeleteSubscriptionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DeleteSubscriptionRequest.Builder |
clearName()
public DeleteSubscriptionRequest.Builder clearName()
Required. The name of the subscription to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
DeleteSubscriptionRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteSubscriptionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DeleteSubscriptionRequest.Builder |
clone()
public DeleteSubscriptionRequest.Builder clone()
Type | Description |
DeleteSubscriptionRequest.Builder |
getDefaultInstanceForType()
public DeleteSubscriptionRequest getDefaultInstanceForType()
Type | Description |
DeleteSubscriptionRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Required. The name of the subscription 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 subscription 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(DeleteSubscriptionRequest other)
public DeleteSubscriptionRequest.Builder mergeFrom(DeleteSubscriptionRequest other)
Name | Description |
other | DeleteSubscriptionRequest |
Type | Description |
DeleteSubscriptionRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteSubscriptionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteSubscriptionRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DeleteSubscriptionRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DeleteSubscriptionRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteSubscriptionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteSubscriptionRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteSubscriptionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteSubscriptionRequest.Builder |
setName(String value)
public DeleteSubscriptionRequest.Builder setName(String value)
Required. The name of the subscription to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
DeleteSubscriptionRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public DeleteSubscriptionRequest.Builder setNameBytes(ByteString value)
Required. The name of the subscription 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 |
DeleteSubscriptionRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeleteSubscriptionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DeleteSubscriptionRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteSubscriptionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteSubscriptionRequest.Builder |