public final class DeleteSubscriptionRequest extends GeneratedMessage implements DeleteSubscriptionRequestOrBuilder
google.pubsub.v1.DeleteSubscriptionRequest
Request for the DeleteSubscription method.
Modifier and Type | Class and Description |
---|---|
static class |
DeleteSubscriptionRequest.Builder
Protobuf type
google.pubsub.v1.DeleteSubscriptionRequest |
GeneratedMessage.ExtendableBuilder<MessageType extends GeneratedMessage.ExtendableMessage,BuilderType extends GeneratedMessage.ExtendableBuilder>, GeneratedMessage.ExtendableMessage<MessageType extends GeneratedMessage.ExtendableMessage>, GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends GeneratedMessage.ExtendableMessage>, GeneratedMessage.FieldAccessorTable, GeneratedMessage.GeneratedExtension<ContainingType extends Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
SUBSCRIPTION_FIELD_NUMBER |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension
equals, findInitializationErrors, getInitializationErrorString, hashCode, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int SUBSCRIPTION_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
MessageOrBuilder
UnknownFieldSet
for this message.getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessage
public static final Descriptors.Descriptor getDescriptor()
public java.lang.String getSubscription()
The subscription to delete.
getSubscription
in interface DeleteSubscriptionRequestOrBuilder
public ByteString getSubscriptionBytes()
The subscription to delete.
getSubscriptionBytes
in interface DeleteSubscriptionRequestOrBuilder
public final boolean isInitialized()
MessageLiteOrBuilder
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessage
public void writeTo(CodedOutputStream output) throws java.io.IOException
MessageLite
output
. This does not
flush or close the stream.writeTo
in interface MessageLite
writeTo
in class GeneratedMessage
java.io.IOException
public int getSerializedSize()
MessageLite
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessage
public static DeleteSubscriptionRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DeleteSubscriptionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DeleteSubscriptionRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DeleteSubscriptionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DeleteSubscriptionRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static DeleteSubscriptionRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static DeleteSubscriptionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static DeleteSubscriptionRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static DeleteSubscriptionRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static DeleteSubscriptionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public DeleteSubscriptionRequest.Builder newBuilderForType()
MessageLite
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static DeleteSubscriptionRequest.Builder newBuilder()
public static DeleteSubscriptionRequest.Builder newBuilder(DeleteSubscriptionRequest prototype)
public DeleteSubscriptionRequest.Builder toBuilder()
MessageLite
toBuilder
in interface Message
toBuilder
in interface MessageLite
public static DeleteSubscriptionRequest getDefaultInstance()
public static Parser<DeleteSubscriptionRequest> parser()
public Parser<DeleteSubscriptionRequest> getParserForType()
MessageLite
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessage
public DeleteSubscriptionRequest getDefaultInstanceForType()
MessageLiteOrBuilder
getDefaultInstance()
method of generated message classes in that
this method is an abstract method of the MessageLite
interface
whereas getDefaultInstance()
is a static method of a specific
class. They return the same thing.getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder