Interface GrpcStatusFilterOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GrpcStatusFilter
,GrpcStatusFilter.Builder
public interface GrpcStatusFilterOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getExclude()
If included and set to true, the filter will instead block all responses with a gRPC status or inferred gRPC status enumerated in statuses, and allow all other responses.GrpcStatusFilter.Status
getStatuses(int index)
Logs only responses that have any one of the gRPC statuses in this field.int
getStatusesCount()
Logs only responses that have any one of the gRPC statuses in this field.java.util.List<GrpcStatusFilter.Status>
getStatusesList()
Logs only responses that have any one of the gRPC statuses in this field.int
getStatusesValue(int index)
Logs only responses that have any one of the gRPC statuses in this field.java.util.List<java.lang.Integer>
getStatusesValueList()
Logs only responses that have any one of the gRPC statuses 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
-
getStatusesList
java.util.List<GrpcStatusFilter.Status> getStatusesList()
Logs only responses that have any one of the gRPC statuses in this field.
repeated .envoy.config.accesslog.v3.GrpcStatusFilter.Status statuses = 1 [(.validate.rules) = { ... }
- Returns:
- A list containing the statuses.
-
getStatusesCount
int getStatusesCount()
Logs only responses that have any one of the gRPC statuses in this field.
repeated .envoy.config.accesslog.v3.GrpcStatusFilter.Status statuses = 1 [(.validate.rules) = { ... }
- Returns:
- The count of statuses.
-
getStatuses
GrpcStatusFilter.Status getStatuses(int index)
Logs only responses that have any one of the gRPC statuses in this field.
repeated .envoy.config.accesslog.v3.GrpcStatusFilter.Status statuses = 1 [(.validate.rules) = { ... }
- Parameters:
index
- The index of the element to return.- Returns:
- The statuses at the given index.
-
getStatusesValueList
java.util.List<java.lang.Integer> getStatusesValueList()
Logs only responses that have any one of the gRPC statuses in this field.
repeated .envoy.config.accesslog.v3.GrpcStatusFilter.Status statuses = 1 [(.validate.rules) = { ... }
- Returns:
- A list containing the enum numeric values on the wire for statuses.
-
getStatusesValue
int getStatusesValue(int index)
Logs only responses that have any one of the gRPC statuses in this field.
repeated .envoy.config.accesslog.v3.GrpcStatusFilter.Status statuses = 1 [(.validate.rules) = { ... }
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of statuses at the given index.
-
getExclude
boolean getExclude()
If included and set to true, the filter will instead block all responses with a gRPC status or inferred gRPC status enumerated in statuses, and allow all other responses.
bool exclude = 2;
- Returns:
- The exclude.
-
-