io.ray.serve.generated.RequestMetadataOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: src/ray/protobuf/serve.proto
package io.ray.serve.generated;
public interface RequestMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:ray.serve.RequestMetadata)
com.google.protobuf.MessageOrBuilder {
/**
* string request_id = 1 [json_name = "requestId"];
* @return The requestId.
*/
java.lang.String getRequestId();
/**
* string request_id = 1 [json_name = "requestId"];
* @return The bytes for requestId.
*/
com.google.protobuf.ByteString
getRequestIdBytes();
/**
* string endpoint = 2 [json_name = "endpoint"];
* @return The endpoint.
*/
java.lang.String getEndpoint();
/**
* string endpoint = 2 [json_name = "endpoint"];
* @return The bytes for endpoint.
*/
com.google.protobuf.ByteString
getEndpointBytes();
/**
* string call_method = 3 [json_name = "callMethod"];
* @return The callMethod.
*/
java.lang.String getCallMethod();
/**
* string call_method = 3 [json_name = "callMethod"];
* @return The bytes for callMethod.
*/
com.google.protobuf.ByteString
getCallMethodBytes();
/**
* map<string, string> context = 4 [json_name = "context"];
*/
int getContextCount();
/**
* map<string, string> context = 4 [json_name = "context"];
*/
boolean containsContext(
java.lang.String key);
/**
* Use {@link #getContextMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getContext();
/**
* map<string, string> context = 4 [json_name = "context"];
*/
java.util.Map
getContextMap();
/**
* map<string, string> context = 4 [json_name = "context"];
*/
java.lang.String getContextOrDefault(
java.lang.String key,
java.lang.String defaultValue);
/**
* map<string, string> context = 4 [json_name = "context"];
*/
java.lang.String getContextOrThrow(
java.lang.String key);
/**
* string multiplexed_model_id = 5 [json_name = "multiplexedModelId"];
* @return The multiplexedModelId.
*/
java.lang.String getMultiplexedModelId();
/**
* string multiplexed_model_id = 5 [json_name = "multiplexedModelId"];
* @return The bytes for multiplexedModelId.
*/
com.google.protobuf.ByteString
getMultiplexedModelIdBytes();
/**
* string route = 6 [json_name = "route"];
* @return The route.
*/
java.lang.String getRoute();
/**
* string route = 6 [json_name = "route"];
* @return The bytes for route.
*/
com.google.protobuf.ByteString
getRouteBytes();
/**
* string internal_request_id = 7 [json_name = "internalRequestId"];
* @return The internalRequestId.
*/
java.lang.String getInternalRequestId();
/**
* string internal_request_id = 7 [json_name = "internalRequestId"];
* @return The bytes for internalRequestId.
*/
com.google.protobuf.ByteString
getInternalRequestIdBytes();
}