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
Modifier and TypeMethodDescriptionboolean
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.getStatuses
(int index) Logs only responses that have any one of the gRPC statuses in this field.int
Logs only responses that have any one of the gRPC statuses in this field.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.Logs only responses that have any one of the gRPC statuses 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
-
getStatusesList
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
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
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.
-