Interface LogTypeFilterOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LogTypeFilter
,LogTypeFilter.Builder
public interface LogTypeFilterOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getExclude()
If this field is set to true, the filter will instead block all records with a access log type in types field, and allow all other records.AccessLogType
getTypes(int index)
Logs only records which their type is one of the types defined in this field.int
getTypesCount()
Logs only records which their type is one of the types defined in this field.java.util.List<AccessLogType>
getTypesList()
Logs only records which their type is one of the types defined in this field.int
getTypesValue(int index)
Logs only records which their type is one of the types defined in this field.java.util.List<java.lang.Integer>
getTypesValueList()
Logs only records which their type is one of the types defined in this field.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypesList
java.util.List<AccessLogType> getTypesList()
Logs only records which their type is one of the types defined in this field.
repeated .envoy.data.accesslog.v3.AccessLogType types = 1 [(.validate.rules) = { ... }
- Returns:
- A list containing the types.
-
getTypesCount
int getTypesCount()
Logs only records which their type is one of the types defined in this field.
repeated .envoy.data.accesslog.v3.AccessLogType types = 1 [(.validate.rules) = { ... }
- Returns:
- The count of types.
-
getTypes
AccessLogType getTypes(int index)
Logs only records which their type is one of the types defined in this field.
repeated .envoy.data.accesslog.v3.AccessLogType types = 1 [(.validate.rules) = { ... }
- Parameters:
index
- The index of the element to return.- Returns:
- The types at the given index.
-
getTypesValueList
java.util.List<java.lang.Integer> getTypesValueList()
Logs only records which their type is one of the types defined in this field.
repeated .envoy.data.accesslog.v3.AccessLogType types = 1 [(.validate.rules) = { ... }
- Returns:
- A list containing the enum numeric values on the wire for types.
-
getTypesValue
int getTypesValue(int index)
Logs only records which their type is one of the types defined in this field.
repeated .envoy.data.accesslog.v3.AccessLogType types = 1 [(.validate.rules) = { ... }
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of types at the given index.
-
getExclude
boolean getExclude()
If this field is set to true, the filter will instead block all records with a access log type in types field, and allow all other records.
bool exclude = 2;
- Returns:
- The exclude.
-
-