Package com.google.pubsub.v1
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
Modifier and TypeMethodDescriptiongetAllowedPersistenceRegions
(int index) A list of IDs of Google Cloud 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 Google Cloud regions where messages that are published to the topic may be persisted in storage.int
A list of IDs of Google Cloud regions where messages that are published to the topic may be persisted in storage.A list of IDs of Google Cloud 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 Details
-
getAllowedPersistenceRegionsList
A list of IDs of Google Cloud regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed Google Cloud regions (or running outside of Google Cloud altogether) are 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 Google Cloud regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed Google Cloud regions (or running outside of Google Cloud altogether) are 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
A list of IDs of Google Cloud regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed Google Cloud regions (or running outside of Google Cloud altogether) are 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 Google Cloud regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed Google Cloud regions (or running outside of Google Cloud altogether) are 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.
-