Interface MessageStoragePolicyOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    MessageStoragePolicy, MessageStoragePolicy.Builder

    public interface MessageStoragePolicyOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getAllowedPersistenceRegions​(int index)
      A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage.
      com.google.protobuf.ByteString getAllowedPersistenceRegionsBytes​(int index)
      A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage.
      int getAllowedPersistenceRegionsCount()
      A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage.
      List<String> getAllowedPersistenceRegionsList()
      A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getAllowedPersistenceRegionsList

        List<String> getAllowedPersistenceRegionsList()
         A list of IDs of GCP regions where messages that are published to the topic
         may be persisted in storage. Messages published by publishers running in
         non-allowed GCP regions (or running outside of GCP altogether) will be
         routed for storage in one of the allowed regions. An empty list means that
         no regions are allowed, and is not a valid configuration.
         
        repeated string allowed_persistence_regions = 1;
        Returns:
        A list containing the allowedPersistenceRegions.
      • getAllowedPersistenceRegionsCount

        int getAllowedPersistenceRegionsCount()
         A list of IDs of GCP regions where messages that are published to the topic
         may be persisted in storage. Messages published by publishers running in
         non-allowed GCP regions (or running outside of GCP altogether) will be
         routed for storage in one of the allowed regions. An empty list means that
         no regions are allowed, and is not a valid configuration.
         
        repeated string allowed_persistence_regions = 1;
        Returns:
        The count of allowedPersistenceRegions.
      • getAllowedPersistenceRegions

        String getAllowedPersistenceRegions​(int index)
         A list of IDs of GCP regions where messages that are published to the topic
         may be persisted in storage. Messages published by publishers running in
         non-allowed GCP regions (or running outside of GCP altogether) will be
         routed for storage in one of the allowed regions. An empty list means that
         no regions are allowed, and is not a valid configuration.
         
        repeated string allowed_persistence_regions = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The allowedPersistenceRegions at the given index.
      • getAllowedPersistenceRegionsBytes

        com.google.protobuf.ByteString getAllowedPersistenceRegionsBytes​(int index)
         A list of IDs of GCP regions where messages that are published to the topic
         may be persisted in storage. Messages published by publishers running in
         non-allowed GCP regions (or running outside of GCP altogether) will be
         routed for storage in one of the allowed regions. An empty list means that
         no regions are allowed, and is not a valid configuration.
         
        repeated string allowed_persistence_regions = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the allowedPersistenceRegions at the given index.