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
Modifier and TypeMethodDescriptionboolean
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.getTypes
(int index) Logs only records which their type is one of the types defined in this field.int
Logs only records which their type is one of the types defined in this field.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.Logs only records which their type is one of the types defined in this field.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
-
getTypesList
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
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
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.
-