Class Subscription

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.bigquery.analyticshub.v1.Subscription
All Implemented Interfaces:
SubscriptionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Subscription extends com.google.protobuf.GeneratedMessage implements SubscriptionOrBuilder
 A subscription represents a subscribers' access to a particular set of
 published data. It contains references to associated listings,
 data exchanges, and linked datasets.
 
Protobuf type google.cloud.bigquery.analyticshub.v1.Subscription
See Also:
  • Field Details

    • LISTING_FIELD_NUMBER

      public static final int LISTING_FIELD_NUMBER
      See Also:
    • DATA_EXCHANGE_FIELD_NUMBER

      public static final int DATA_EXCHANGE_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CREATION_TIME_FIELD_NUMBER

      public static final int CREATION_TIME_FIELD_NUMBER
      See Also:
    • LAST_MODIFY_TIME_FIELD_NUMBER

      public static final int LAST_MODIFY_TIME_FIELD_NUMBER
      See Also:
    • ORGANIZATION_ID_FIELD_NUMBER

      public static final int ORGANIZATION_ID_FIELD_NUMBER
      See Also:
    • ORGANIZATION_DISPLAY_NAME_FIELD_NUMBER

      public static final int ORGANIZATION_DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • LINKED_DATASET_MAP_FIELD_NUMBER

      public static final int LINKED_DATASET_MAP_FIELD_NUMBER
      See Also:
    • SUBSCRIBER_CONTACT_FIELD_NUMBER

      public static final int SUBSCRIBER_CONTACT_FIELD_NUMBER
      See Also:
    • LINKED_RESOURCES_FIELD_NUMBER

      public static final int LINKED_RESOURCES_FIELD_NUMBER
      See Also:
    • RESOURCE_TYPE_FIELD_NUMBER

      public static final int RESOURCE_TYPE_FIELD_NUMBER
      See Also:
    • COMMERCIAL_INFO_FIELD_NUMBER

      public static final int COMMERCIAL_INFO_FIELD_NUMBER
      See Also:
    • LOG_LINKED_DATASET_QUERY_USER_EMAIL_FIELD_NUMBER

      public static final int LOG_LINKED_DATASET_QUERY_USER_EMAIL_FIELD_NUMBER
      See Also:
    • DESTINATION_DATASET_FIELD_NUMBER

      public static final int DESTINATION_DATASET_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getResourceNameCase

      public Subscription.ResourceNameCase getResourceNameCase()
      Specified by:
      getResourceNameCase in interface SubscriptionOrBuilder
    • hasListing

      public boolean hasListing()
       Output only. Resource name of the source Listing.
       e.g. projects/123/locations/us/dataExchanges/456/listings/789
       
      string listing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasListing in interface SubscriptionOrBuilder
      Returns:
      Whether the listing field is set.
    • getListing

      public String getListing()
       Output only. Resource name of the source Listing.
       e.g. projects/123/locations/us/dataExchanges/456/listings/789
       
      string listing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getListing in interface SubscriptionOrBuilder
      Returns:
      The listing.
    • getListingBytes

      public com.google.protobuf.ByteString getListingBytes()
       Output only. Resource name of the source Listing.
       e.g. projects/123/locations/us/dataExchanges/456/listings/789
       
      string listing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getListingBytes in interface SubscriptionOrBuilder
      Returns:
      The bytes for listing.
    • hasDataExchange

      public boolean hasDataExchange()
       Output only. Resource name of the source Data Exchange.
       e.g. projects/123/locations/us/dataExchanges/456
       
      string data_exchange = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDataExchange in interface SubscriptionOrBuilder
      Returns:
      Whether the dataExchange field is set.
    • getDataExchange

      public String getDataExchange()
       Output only. Resource name of the source Data Exchange.
       e.g. projects/123/locations/us/dataExchanges/456
       
      string data_exchange = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDataExchange in interface SubscriptionOrBuilder
      Returns:
      The dataExchange.
    • getDataExchangeBytes

      public com.google.protobuf.ByteString getDataExchangeBytes()
       Output only. Resource name of the source Data Exchange.
       e.g. projects/123/locations/us/dataExchanges/456
       
      string data_exchange = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDataExchangeBytes in interface SubscriptionOrBuilder
      Returns:
      The bytes for dataExchange.
    • getName

      public String getName()
       Output only. The resource name of the subscription.
       e.g. `projects/myproject/locations/us/subscriptions/123`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface SubscriptionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The resource name of the subscription.
       e.g. `projects/myproject/locations/us/subscriptions/123`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface SubscriptionOrBuilder
      Returns:
      The bytes for name.
    • hasCreationTime

      public boolean hasCreationTime()
       Output only. Timestamp when the subscription was created.
       
      .google.protobuf.Timestamp creation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreationTime in interface SubscriptionOrBuilder
      Returns:
      Whether the creationTime field is set.
    • getCreationTime

      public com.google.protobuf.Timestamp getCreationTime()
       Output only. Timestamp when the subscription was created.
       
      .google.protobuf.Timestamp creation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreationTime in interface SubscriptionOrBuilder
      Returns:
      The creationTime.
    • getCreationTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()
       Output only. Timestamp when the subscription was created.
       
      .google.protobuf.Timestamp creation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreationTimeOrBuilder in interface SubscriptionOrBuilder
    • hasLastModifyTime

      public boolean hasLastModifyTime()
       Output only. Timestamp when the subscription was last modified.
       
      .google.protobuf.Timestamp last_modify_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasLastModifyTime in interface SubscriptionOrBuilder
      Returns:
      Whether the lastModifyTime field is set.
    • getLastModifyTime

      public com.google.protobuf.Timestamp getLastModifyTime()
       Output only. Timestamp when the subscription was last modified.
       
      .google.protobuf.Timestamp last_modify_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastModifyTime in interface SubscriptionOrBuilder
      Returns:
      The lastModifyTime.
    • getLastModifyTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastModifyTimeOrBuilder()
       Output only. Timestamp when the subscription was last modified.
       
      .google.protobuf.Timestamp last_modify_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastModifyTimeOrBuilder in interface SubscriptionOrBuilder
    • getOrganizationId

      public String getOrganizationId()
       Output only. Organization of the project this subscription belongs to.
       
      string organization_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOrganizationId in interface SubscriptionOrBuilder
      Returns:
      The organizationId.
    • getOrganizationIdBytes

      public com.google.protobuf.ByteString getOrganizationIdBytes()
       Output only. Organization of the project this subscription belongs to.
       
      string organization_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOrganizationIdBytes in interface SubscriptionOrBuilder
      Returns:
      The bytes for organizationId.
    • getOrganizationDisplayName

      public String getOrganizationDisplayName()
       Output only. Display name of the project of this subscription.
       
      string organization_display_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOrganizationDisplayName in interface SubscriptionOrBuilder
      Returns:
      The organizationDisplayName.
    • getOrganizationDisplayNameBytes

      public com.google.protobuf.ByteString getOrganizationDisplayNameBytes()
       Output only. Display name of the project of this subscription.
       
      string organization_display_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOrganizationDisplayNameBytes in interface SubscriptionOrBuilder
      Returns:
      The bytes for organizationDisplayName.
    • getStateValue

      public int getStateValue()
       Output only. Current state of the subscription.
       
      .google.cloud.bigquery.analyticshub.v1.Subscription.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface SubscriptionOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public Subscription.State getState()
       Output only. Current state of the subscription.
       
      .google.cloud.bigquery.analyticshub.v1.Subscription.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface SubscriptionOrBuilder
      Returns:
      The state.
    • getLinkedDatasetMapCount

      public int getLinkedDatasetMapCount()
      Description copied from interface: SubscriptionOrBuilder
       Output only. Map of listing resource names to associated linked resource,
       e.g. projects/123/locations/us/dataExchanges/456/listings/789
       ->
       projects/123/datasets/my_dataset
      
       For listing-level subscriptions, this is a map of size 1.
       Only contains values if state == STATE_ACTIVE.
       
      map<string, .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource> linked_dataset_map = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLinkedDatasetMapCount in interface SubscriptionOrBuilder
    • containsLinkedDatasetMap

      public boolean containsLinkedDatasetMap(String key)
       Output only. Map of listing resource names to associated linked resource,
       e.g. projects/123/locations/us/dataExchanges/456/listings/789
       ->
       projects/123/datasets/my_dataset
      
       For listing-level subscriptions, this is a map of size 1.
       Only contains values if state == STATE_ACTIVE.
       
      map<string, .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource> linked_dataset_map = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      containsLinkedDatasetMap in interface SubscriptionOrBuilder
    • getLinkedDatasetMap

      @Deprecated public Map<String,Subscription.LinkedResource> getLinkedDatasetMap()
      Deprecated.
      Specified by:
      getLinkedDatasetMap in interface SubscriptionOrBuilder
    • getLinkedDatasetMapMap

      public Map<String,Subscription.LinkedResource> getLinkedDatasetMapMap()
       Output only. Map of listing resource names to associated linked resource,
       e.g. projects/123/locations/us/dataExchanges/456/listings/789
       ->
       projects/123/datasets/my_dataset
      
       For listing-level subscriptions, this is a map of size 1.
       Only contains values if state == STATE_ACTIVE.
       
      map<string, .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource> linked_dataset_map = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLinkedDatasetMapMap in interface SubscriptionOrBuilder
    • getLinkedDatasetMapOrDefault

      public Subscription.LinkedResource getLinkedDatasetMapOrDefault(String key, Subscription.LinkedResource defaultValue)
       Output only. Map of listing resource names to associated linked resource,
       e.g. projects/123/locations/us/dataExchanges/456/listings/789
       ->
       projects/123/datasets/my_dataset
      
       For listing-level subscriptions, this is a map of size 1.
       Only contains values if state == STATE_ACTIVE.
       
      map<string, .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource> linked_dataset_map = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLinkedDatasetMapOrDefault in interface SubscriptionOrBuilder
    • getLinkedDatasetMapOrThrow

      public Subscription.LinkedResource getLinkedDatasetMapOrThrow(String key)
       Output only. Map of listing resource names to associated linked resource,
       e.g. projects/123/locations/us/dataExchanges/456/listings/789
       ->
       projects/123/datasets/my_dataset
      
       For listing-level subscriptions, this is a map of size 1.
       Only contains values if state == STATE_ACTIVE.
       
      map<string, .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource> linked_dataset_map = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLinkedDatasetMapOrThrow in interface SubscriptionOrBuilder
    • getSubscriberContact

      public String getSubscriberContact()
       Output only. Email of the subscriber.
       
      string subscriber_contact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSubscriberContact in interface SubscriptionOrBuilder
      Returns:
      The subscriberContact.
    • getSubscriberContactBytes

      public com.google.protobuf.ByteString getSubscriberContactBytes()
       Output only. Email of the subscriber.
       
      string subscriber_contact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSubscriberContactBytes in interface SubscriptionOrBuilder
      Returns:
      The bytes for subscriberContact.
    • getLinkedResourcesList

      public List<Subscription.LinkedResource> getLinkedResourcesList()
       Output only. Linked resources created in the subscription. Only contains
       values if state = STATE_ACTIVE.
       
      repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLinkedResourcesList in interface SubscriptionOrBuilder
    • getLinkedResourcesOrBuilderList

      public List<? extends Subscription.LinkedResourceOrBuilder> getLinkedResourcesOrBuilderList()
       Output only. Linked resources created in the subscription. Only contains
       values if state = STATE_ACTIVE.
       
      repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLinkedResourcesOrBuilderList in interface SubscriptionOrBuilder
    • getLinkedResourcesCount

      public int getLinkedResourcesCount()
       Output only. Linked resources created in the subscription. Only contains
       values if state = STATE_ACTIVE.
       
      repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLinkedResourcesCount in interface SubscriptionOrBuilder
    • getLinkedResources

      public Subscription.LinkedResource getLinkedResources(int index)
       Output only. Linked resources created in the subscription. Only contains
       values if state = STATE_ACTIVE.
       
      repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLinkedResources in interface SubscriptionOrBuilder
    • getLinkedResourcesOrBuilder

      public Subscription.LinkedResourceOrBuilder getLinkedResourcesOrBuilder(int index)
       Output only. Linked resources created in the subscription. Only contains
       values if state = STATE_ACTIVE.
       
      repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLinkedResourcesOrBuilder in interface SubscriptionOrBuilder
    • getResourceTypeValue

      public int getResourceTypeValue()
       Output only. Listing shared asset type.
       
      .google.cloud.bigquery.analyticshub.v1.SharedResourceType resource_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceTypeValue in interface SubscriptionOrBuilder
      Returns:
      The enum numeric value on the wire for resourceType.
    • getResourceType

      public SharedResourceType getResourceType()
       Output only. Listing shared asset type.
       
      .google.cloud.bigquery.analyticshub.v1.SharedResourceType resource_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceType in interface SubscriptionOrBuilder
      Returns:
      The resourceType.
    • hasCommercialInfo

      public boolean hasCommercialInfo()
       Output only. This is set if this is a commercial subscription i.e. if this
       subscription was created from subscribing to a commercial listing.
       
      .google.cloud.bigquery.analyticshub.v1.Subscription.CommercialInfo commercial_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCommercialInfo in interface SubscriptionOrBuilder
      Returns:
      Whether the commercialInfo field is set.
    • getCommercialInfo

      public Subscription.CommercialInfo getCommercialInfo()
       Output only. This is set if this is a commercial subscription i.e. if this
       subscription was created from subscribing to a commercial listing.
       
      .google.cloud.bigquery.analyticshub.v1.Subscription.CommercialInfo commercial_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCommercialInfo in interface SubscriptionOrBuilder
      Returns:
      The commercialInfo.
    • getCommercialInfoOrBuilder

      public Subscription.CommercialInfoOrBuilder getCommercialInfoOrBuilder()
       Output only. This is set if this is a commercial subscription i.e. if this
       subscription was created from subscribing to a commercial listing.
       
      .google.cloud.bigquery.analyticshub.v1.Subscription.CommercialInfo commercial_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCommercialInfoOrBuilder in interface SubscriptionOrBuilder
    • hasLogLinkedDatasetQueryUserEmail

      public boolean hasLogLinkedDatasetQueryUserEmail()
       Output only. By default, false.
       If true, the Subscriber agreed to the email sharing mandate
       that is enabled for DataExchange/Listing.
       
      optional bool log_linked_dataset_query_user_email = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasLogLinkedDatasetQueryUserEmail in interface SubscriptionOrBuilder
      Returns:
      Whether the logLinkedDatasetQueryUserEmail field is set.
    • getLogLinkedDatasetQueryUserEmail

      public boolean getLogLinkedDatasetQueryUserEmail()
       Output only. By default, false.
       If true, the Subscriber agreed to the email sharing mandate
       that is enabled for DataExchange/Listing.
       
      optional bool log_linked_dataset_query_user_email = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLogLinkedDatasetQueryUserEmail in interface SubscriptionOrBuilder
      Returns:
      The logLinkedDatasetQueryUserEmail.
    • hasDestinationDataset

      public boolean hasDestinationDataset()
       Optional. BigQuery destination dataset to create for the subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDestinationDataset in interface SubscriptionOrBuilder
      Returns:
      Whether the destinationDataset field is set.
    • getDestinationDataset

      public DestinationDataset getDestinationDataset()
       Optional. BigQuery destination dataset to create for the subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDestinationDataset in interface SubscriptionOrBuilder
      Returns:
      The destinationDataset.
    • getDestinationDatasetOrBuilder

      public DestinationDatasetOrBuilder getDestinationDatasetOrBuilder()
       Optional. BigQuery destination dataset to create for the subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDestinationDatasetOrBuilder in interface SubscriptionOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Subscription parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Subscription parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Subscription parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Subscription parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Subscription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Subscription parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Subscription parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Subscription parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Subscription parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Subscription parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Subscription parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Subscription parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Subscription.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Subscription.Builder newBuilder()
    • newBuilder

      public static Subscription.Builder newBuilder(Subscription prototype)
    • toBuilder

      public Subscription.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Subscription.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Subscription getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Subscription> parser()
    • getParserForType

      public com.google.protobuf.Parser<Subscription> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Subscription getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder