public interface MessageStoragePolicyOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAllowedPersistenceRegions(int index)
public abstract String getAllowedPersistenceRegions(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;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The allowedPersistenceRegions at the given index. |
getAllowedPersistenceRegionsBytes(int index)
public abstract 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;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the allowedPersistenceRegions at the given index. |
getAllowedPersistenceRegionsCount()
public abstract 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 | |
---|---|
Type | Description |
int | The count of allowedPersistenceRegions. |
getAllowedPersistenceRegionsList()
public abstract List<String> 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 | |
---|---|
Type | Description |
List<String> | A list containing the allowedPersistenceRegions. |