ContextRule

@SerialVersionUID(0L) final case
class ContextRule(selector: String, requested: Seq[String], provided: Seq[String], allowedRequestExtensions: Seq[String], allowedResponseExtensions: Seq[String], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[ContextRule]

A context rule provides information about the context for an individual API element.

Value Params
allowedRequestExtensions

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

allowedResponseExtensions

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

provided

A list of full type names of provided contexts.

requested

A list of full type names of requested contexts.

selector

Selects the methods to which this rule applies. Refer to [selector][google.api.DocumentationRule.selector] for syntax details.

Companion
object
trait Updatable[ContextRule]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def addAllAllowedRequestExtensions(`__vs`: Iterable[String]): ContextRule
def addAllAllowedResponseExtensions(`__vs`: Iterable[String]): ContextRule
def addAllProvided(`__vs`: Iterable[String]): ContextRule
def addAllRequested(`__vs`: Iterable[String]): ContextRule
def addProvided(`__vs`: String*): ContextRule
def addRequested(`__vs`: String*): ContextRule
def getField(`__field`: FieldDescriptor): PValue
def getFieldByNumber(`__fieldNumber`: Int): Any
override
Definition Classes
GeneratedMessage
def toProtoString: String
def withAllowedRequestExtensions(`__v`: Seq[String]): ContextRule
def withProvided(`__v`: Seq[String]): ContextRule
def withRequested(`__v`: Seq[String]): ContextRule
def withSelector(`__v`: String): ContextRule
def withUnknownFields(`__v`: UnknownFieldSet): ContextRule
def writeTo(`_output__`: CodedOutputStream): Unit

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
final
def toByteArray: Array[Byte]

Serializes the messgae and returns a byte array containing its raw bytes

Serializes the messgae and returns a byte array containing its raw bytes

Inherited from
GeneratedMessage
final
def toByteString: ByteString

Serializes the messgae and returns a ByteString containing its raw bytes

Serializes the messgae and returns a ByteString containing its raw bytes

Inherited from
GeneratedMessage
final
def toPMessage: PMessage
Inherited from
GeneratedMessage
Inherited from
Updatable
final
def writeDelimitedTo(output: OutputStream): Unit
Inherited from
GeneratedMessage
final
def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Inherited from
GeneratedMessage