Interface ChainFilterOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ChainFilter,ChainFilter.Builder
public interface ChainFilterOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongRequired.getLocationAttributes(int index) Used to filter chain locations by location attributes.com.google.protobuf.ByteStringgetLocationAttributesBytes(int index) Used to filter chain locations by location attributes.intUsed to filter chain locations by location attributes.Used to filter chain locations by location attributes.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getChainId
long getChainId()Required. Used to filter chain locations by chain id. Only chain locations that belong to the specified chain will be in the asset set.
int64 chain_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The chainId.
-
getLocationAttributesList
Used to filter chain locations by location attributes. Only chain locations that belong to all of the specified attribute(s) will be in the asset set. If this field is empty, it means no filtering on this field.
repeated string location_attributes = 2;- Returns:
- A list containing the locationAttributes.
-
getLocationAttributesCount
int getLocationAttributesCount()Used to filter chain locations by location attributes. Only chain locations that belong to all of the specified attribute(s) will be in the asset set. If this field is empty, it means no filtering on this field.
repeated string location_attributes = 2;- Returns:
- The count of locationAttributes.
-
getLocationAttributes
Used to filter chain locations by location attributes. Only chain locations that belong to all of the specified attribute(s) will be in the asset set. If this field is empty, it means no filtering on this field.
repeated string location_attributes = 2;- Parameters:
index- The index of the element to return.- Returns:
- The locationAttributes at the given index.
-
getLocationAttributesBytes
com.google.protobuf.ByteString getLocationAttributesBytes(int index) Used to filter chain locations by location attributes. Only chain locations that belong to all of the specified attribute(s) will be in the asset set. If this field is empty, it means no filtering on this field.
repeated string location_attributes = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the locationAttributes at the given index.
-