public static final class DeleteSubscriptionRequest.Builder extends GeneratedMessageV3.Builder<DeleteSubscriptionRequest.Builder> implements DeleteSubscriptionRequestOrBuilder
Request for the DeleteSubscription method.
Protobuf type google.pubsub.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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteSubscriptionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DeleteSubscriptionRequest.Builder |
clearSubscription()
public DeleteSubscriptionRequest.Builder clearSubscription()
Required. The subscription to delete.
Format is projects/{project}/subscriptions/{sub}
.
string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
DeleteSubscriptionRequest.Builder | This builder for chaining. |
clone()
public DeleteSubscriptionRequest.Builder clone()
Type | Description |
DeleteSubscriptionRequest.Builder |
getDefaultInstanceForType()
public DeleteSubscriptionRequest getDefaultInstanceForType()
Type | Description |
DeleteSubscriptionRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getSubscription()
public String getSubscription()
Required. The subscription to delete.
Format is projects/{project}/subscriptions/{sub}
.
string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The subscription. |
getSubscriptionBytes()
public ByteString getSubscriptionBytes()
Required. The subscription to delete.
Format is projects/{project}/subscriptions/{sub}
.
string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for subscription. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
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 |
mergeFrom(DeleteSubscriptionRequest other)
public DeleteSubscriptionRequest.Builder mergeFrom(DeleteSubscriptionRequest other)
Name | Description |
other | DeleteSubscriptionRequest |
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 |
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 |
setSubscription(String value)
public DeleteSubscriptionRequest.Builder setSubscription(String value)
Required. The subscription to delete.
Format is projects/{project}/subscriptions/{sub}
.
string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The subscription to set. |
Type | Description |
DeleteSubscriptionRequest.Builder | This builder for chaining. |
setSubscriptionBytes(ByteString value)
public DeleteSubscriptionRequest.Builder setSubscriptionBytes(ByteString value)
Required. The subscription to delete.
Format is projects/{project}/subscriptions/{sub}
.
string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for subscription to set. |
Type | Description |
DeleteSubscriptionRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteSubscriptionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteSubscriptionRequest.Builder |