Interface ContextRuleOrBuilder (2.13.0)

public interface ContextRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowedRequestExtensions(int index)

public abstract String getAllowedRequestExtensions(int index)

A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.

repeated string allowed_request_extensions = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The allowedRequestExtensions at the given index.

getAllowedRequestExtensionsBytes(int index)

public abstract ByteString getAllowedRequestExtensionsBytes(int index)

A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.

repeated string allowed_request_extensions = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the allowedRequestExtensions at the given index.

getAllowedRequestExtensionsCount()

public abstract int getAllowedRequestExtensionsCount()

A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.

repeated string allowed_request_extensions = 4;

Returns
TypeDescription
int

The count of allowedRequestExtensions.

getAllowedRequestExtensionsList()

public abstract List<String> getAllowedRequestExtensionsList()

A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.

repeated string allowed_request_extensions = 4;

Returns
TypeDescription
List<String>

A list containing the allowedRequestExtensions.

getAllowedResponseExtensions(int index)

public abstract String getAllowedResponseExtensions(int index)

A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.

repeated string allowed_response_extensions = 5;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The allowedResponseExtensions at the given index.

getAllowedResponseExtensionsBytes(int index)

public abstract ByteString getAllowedResponseExtensionsBytes(int index)

A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.

repeated string allowed_response_extensions = 5;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the allowedResponseExtensions at the given index.

getAllowedResponseExtensionsCount()

public abstract int getAllowedResponseExtensionsCount()

A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.

repeated string allowed_response_extensions = 5;

Returns
TypeDescription
int

The count of allowedResponseExtensions.

getAllowedResponseExtensionsList()

public abstract List<String> getAllowedResponseExtensionsList()

A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.

repeated string allowed_response_extensions = 5;

Returns
TypeDescription
List<String>

A list containing the allowedResponseExtensions.

getProvided(int index)

public abstract String getProvided(int index)

A list of full type names of provided contexts.

repeated string provided = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The provided at the given index.

getProvidedBytes(int index)

public abstract ByteString getProvidedBytes(int index)

A list of full type names of provided contexts.

repeated string provided = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the provided at the given index.

getProvidedCount()

public abstract int getProvidedCount()

A list of full type names of provided contexts.

repeated string provided = 3;

Returns
TypeDescription
int

The count of provided.

getProvidedList()

public abstract List<String> getProvidedList()

A list of full type names of provided contexts.

repeated string provided = 3;

Returns
TypeDescription
List<String>

A list containing the provided.

getRequested(int index)

public abstract String getRequested(int index)

A list of full type names of requested contexts.

repeated string requested = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The requested at the given index.

getRequestedBytes(int index)

public abstract ByteString getRequestedBytes(int index)

A list of full type names of requested contexts.

repeated string requested = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the requested at the given index.

getRequestedCount()

public abstract int getRequestedCount()

A list of full type names of requested contexts.

repeated string requested = 2;

Returns
TypeDescription
int

The count of requested.

getRequestedList()

public abstract List<String> getRequestedList()

A list of full type names of requested contexts.

repeated string requested = 2;

Returns
TypeDescription
List<String>

A list containing the requested.

getSelector()

public abstract String getSelector()

Selects the methods to which this rule applies. Refer to selector for syntax details.

string selector = 1;

Returns
TypeDescription
String

The selector.

getSelectorBytes()

public abstract ByteString getSelectorBytes()

Selects the methods to which this rule applies. Refer to selector for syntax details.

string selector = 1;

Returns
TypeDescription
ByteString

The bytes for selector.