Interface HttpRoute.HttpDirectResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
HttpRoute.HttpDirectResponse, HttpRoute.HttpDirectResponse.Builder
Enclosing class:
HttpRoute

public static interface HttpRoute.HttpDirectResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    Optional.
     
    int
    Required.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    boolean
    Optional.
    boolean
    Optional.

    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

    • hasStringBody

      boolean hasStringBody()
       Optional. Response body as a string. Maximum body length is 1024
       characters.
       
      string string_body = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the stringBody field is set.
    • getStringBody

      String getStringBody()
       Optional. Response body as a string. Maximum body length is 1024
       characters.
       
      string string_body = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The stringBody.
    • getStringBodyBytes

      com.google.protobuf.ByteString getStringBodyBytes()
       Optional. Response body as a string. Maximum body length is 1024
       characters.
       
      string string_body = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for stringBody.
    • hasBytesBody

      boolean hasBytesBody()
       Optional. Response body as bytes. Maximum body size is 4096B.
       
      bytes bytes_body = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the bytesBody field is set.
    • getBytesBody

      com.google.protobuf.ByteString getBytesBody()
       Optional. Response body as bytes. Maximum body size is 4096B.
       
      bytes bytes_body = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytesBody.
    • getStatus

      int getStatus()
       Required. Status to return as part of HTTP Response. Must be a positive
       integer.
       
      int32 status = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The status.
    • getHttpBodyCase