public final class DeleteSubscriptionRequest extends GeneratedMessageV3 implements DeleteSubscriptionRequestOrBuilder
Request for the DeleteSubscription method.
Protobuf type google.pubsub.v1.DeleteSubscriptionRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DeleteSubscriptionRequestImplements
DeleteSubscriptionRequestOrBuilderStatic Fields
SUBSCRIPTION_FIELD_NUMBER
public static final int SUBSCRIPTION_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static DeleteSubscriptionRequest getDefaultInstance()
Type | Description |
DeleteSubscriptionRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static DeleteSubscriptionRequest.Builder newBuilder()
Type | Description |
DeleteSubscriptionRequest.Builder |
newBuilder(DeleteSubscriptionRequest prototype)
public static DeleteSubscriptionRequest.Builder newBuilder(DeleteSubscriptionRequest prototype)
Name | Description |
prototype | DeleteSubscriptionRequest |
Type | Description |
DeleteSubscriptionRequest.Builder |
parseDelimitedFrom(InputStream input)
public static DeleteSubscriptionRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
DeleteSubscriptionRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DeleteSubscriptionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteSubscriptionRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static DeleteSubscriptionRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
DeleteSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DeleteSubscriptionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static DeleteSubscriptionRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
DeleteSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DeleteSubscriptionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static DeleteSubscriptionRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
DeleteSubscriptionRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DeleteSubscriptionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteSubscriptionRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static DeleteSubscriptionRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
DeleteSubscriptionRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DeleteSubscriptionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteSubscriptionRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static DeleteSubscriptionRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
DeleteSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DeleteSubscriptionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<DeleteSubscriptionRequest> parser()
Type | Description |
Parser<DeleteSubscriptionRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public DeleteSubscriptionRequest getDefaultInstanceForType()
Type | Description |
DeleteSubscriptionRequest |
getParserForType()
public Parser<DeleteSubscriptionRequest> getParserForType()
Type | Description |
Parser<DeleteSubscriptionRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
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. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public DeleteSubscriptionRequest.Builder newBuilderForType()
Type | Description |
DeleteSubscriptionRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DeleteSubscriptionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
DeleteSubscriptionRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public DeleteSubscriptionRequest.Builder toBuilder()
Type | Description |
DeleteSubscriptionRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |