Package io.envoyproxy.envoy.type.v3
Interface HttpStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpStatus
,HttpStatus.Builder
public interface HttpStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatusCode
getCode()
Supplies HTTP response code.int
getCodeValue()
Supplies HTTP response code.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCodeValue
int getCodeValue()
Supplies HTTP response code.
.envoy.type.v3.StatusCode code = 1 [(.validate.rules) = { ... }
- Returns:
- The enum numeric value on the wire for code.
-
getCode
StatusCode getCode()
Supplies HTTP response code.
.envoy.type.v3.StatusCode code = 1 [(.validate.rules) = { ... }
- Returns:
- The code.
-
-