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
Modifier and TypeMethodDescriptiongetCode()
Supplies HTTP response code.int
Supplies HTTP response code.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
-
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.
-