Builder

class Builder : GeneratedMessage.Builder<BuilderT> , EndpointOrBuilder
Specifies information about a single endpoint which is part of an application.
Protobuf type elide.meta.Endpoint

Properties

Functions

Link copied to clipboard
Types accepted by this method.
repeated string consumes = 6;
Link copied to clipboard
HTTP methods supported by this endpoint.
repeated .elide.meta.EndpointMethods method = 8;
Link copied to clipboard
HTTP methods supported by this endpoint.
repeated .elide.meta.EndpointMethods method = 8;
Link copied to clipboard
Types produced by this method.
repeated string produces = 7;
Link copied to clipboard
Types accepted by this method.
repeated string consumes = 6;
Link copied to clipboard
open fun addConsumesBytes(value: ByteString): Endpoint.Builder
Types accepted by this method.
repeated string consumes = 6;
Link copied to clipboard
HTTP methods supported by this endpoint.
repeated .elide.meta.EndpointMethods method = 8;
Link copied to clipboard
HTTP methods supported by this endpoint.
repeated .elide.meta.EndpointMethods method = 8;
Link copied to clipboard
Types produced by this method.
repeated string produces = 7;
Link copied to clipboard
open fun addProducesBytes(value: ByteString): Endpoint.Builder
Types produced by this method.
repeated string produces = 7;
Link copied to clipboard
open fun addRepeatedField(field: Descriptors.FieldDescriptor, value: Any): BuilderT
abstract fun addRepeatedField(field: Descriptors.FieldDescriptor, value: Any): Message.Builder
Link copied to clipboard
abstract fun build(): MessageLite
open fun build(): Endpoint
Link copied to clipboard
abstract fun buildPartial(): MessageLite
Link copied to clipboard
open fun clear(): BuilderType
abstract fun clear(): Message.Builder
Link copied to clipboard
URL base for this endpoint (controller).
string base = 4;
Link copied to clipboard
Types accepted by this method.
repeated string consumes = 6;
Link copied to clipboard
open fun clearField(field: Descriptors.FieldDescriptor): BuilderT
abstract fun clearField(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
Value of the `name` parameter for the parent handler, if known.
optional string handler = 12;
Link copied to clipboard
Fully qualified path to the implementation class.
string impl = 10;
Link copied to clipboard
Member function bound to this route on `impl`.
string member = 11;
Link copied to clipboard
HTTP methods supported by this endpoint.
repeated .elide.meta.EndpointMethods method = 8;
Link copied to clipboard
Name given to an endpoint, if applicable; this parameter considers the method name as well as the handler name.
optional string name = 2;
Link copied to clipboard
open fun clearOneof(oneof: Descriptors.OneofDescriptor): BuilderType
open fun clearOneof(oneof: Descriptors.OneofDescriptor): BuilderT
abstract fun clearOneof(oneof: Descriptors.OneofDescriptor): Message.Builder
Link copied to clipboard
Options which apply to this endpoint.
.elide.meta.EndpointOptions options = 9;
Link copied to clipboard
Types produced by this method.
repeated string produces = 7;
Link copied to clipboard
Tag generated for an endpoint.
string tag = 1;
Link copied to clipboard
URL tail for this endpoint (method).
optional string tail = 5;
Link copied to clipboard
Type of endpoint detected or configured for this payload.
.elide.meta.EndpointType type = 3;
Link copied to clipboard
open fun clone(): BuilderType
open fun clone(): BuilderT
abstract fun clone(): Message.Builder
Link copied to clipboard
Link copied to clipboard
open fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
Link copied to clipboard
open fun getBase(): String
URL base for this endpoint (controller).
string base = 4;
Link copied to clipboard
open fun getBaseBytes(): ByteString
URL base for this endpoint (controller).
string base = 4;
Link copied to clipboard
open fun getConsumes(index: Int): String
Types accepted by this method.
repeated string consumes = 6;
Link copied to clipboard
open fun getConsumesBytes(index: Int): ByteString
Types accepted by this method.
repeated string consumes = 6;
Link copied to clipboard
open fun getConsumesCount(): Int
Types accepted by this method.
repeated string consumes = 6;
Link copied to clipboard
open fun getConsumesList(): ProtocolStringList
Types accepted by this method.
repeated string consumes = 6;
Link copied to clipboard
abstract fun getDefaultInstanceForType(): MessageLite
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
open fun getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
open fun getFieldBuilder(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
open fun getHandler(): String
Value of the `name` parameter for the parent handler, if known.
optional string handler = 12;
Link copied to clipboard
open fun getHandlerBytes(): ByteString
Value of the `name` parameter for the parent handler, if known.
optional string handler = 12;
Link copied to clipboard
open fun getImpl(): String
Fully qualified path to the implementation class.
string impl = 10;
Link copied to clipboard
open fun getImplBytes(): ByteString
Fully qualified path to the implementation class.
string impl = 10;
Link copied to clipboard
open fun getMember(): String
Member function bound to this route on `impl`.
string member = 11;
Link copied to clipboard
open fun getMemberBytes(): ByteString
Member function bound to this route on `impl`.
string member = 11;
Link copied to clipboard
open fun getMethod(index: Int): EndpointMethods
HTTP methods supported by this endpoint.
repeated .elide.meta.EndpointMethods method = 8;
Link copied to clipboard
open fun getMethodCount(): Int
HTTP methods supported by this endpoint.
repeated .elide.meta.EndpointMethods method = 8;
Link copied to clipboard
HTTP methods supported by this endpoint.
repeated .elide.meta.EndpointMethods method = 8;
Link copied to clipboard
open fun getMethodValue(index: Int): Int
HTTP methods supported by this endpoint.
repeated .elide.meta.EndpointMethods method = 8;
Link copied to clipboard
HTTP methods supported by this endpoint.
repeated .elide.meta.EndpointMethods method = 8;
Link copied to clipboard
open fun getName(): String
Name given to an endpoint, if applicable; this parameter considers the method name as well as the handler name.
optional string name = 2;
Link copied to clipboard
open fun getNameBytes(): ByteString
Name given to an endpoint, if applicable; this parameter considers the method name as well as the handler name.
optional string name = 2;
Link copied to clipboard
open fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
Options which apply to this endpoint.
.elide.meta.EndpointOptions options = 9;
Link copied to clipboard
Options which apply to this endpoint.
.elide.meta.EndpointOptions options = 9;
Link copied to clipboard
Options which apply to this endpoint.
.elide.meta.EndpointOptions options = 9;
Link copied to clipboard
open fun getProduces(index: Int): String
Types produced by this method.
repeated string produces = 7;
Link copied to clipboard
open fun getProducesBytes(index: Int): ByteString
Types produced by this method.
repeated string produces = 7;
Link copied to clipboard
open fun getProducesCount(): Int
Types produced by this method.
repeated string produces = 7;
Link copied to clipboard
open fun getProducesList(): ProtocolStringList
Types produced by this method.
repeated string produces = 7;
Link copied to clipboard
open fun getRepeatedField(field: Descriptors.FieldDescriptor, index: Int): Any
Link copied to clipboard
open fun getRepeatedFieldBuilder(field: Descriptors.FieldDescriptor, index: Int): Message.Builder
Link copied to clipboard
open fun getRepeatedFieldCount(field: Descriptors.FieldDescriptor): Int
Link copied to clipboard
open fun getTag(): String
Tag generated for an endpoint.
string tag = 1;
Link copied to clipboard
open fun getTagBytes(): ByteString
Tag generated for an endpoint.
string tag = 1;
Link copied to clipboard
open fun getTail(): String
URL tail for this endpoint (method).
optional string tail = 5;
Link copied to clipboard
open fun getTailBytes(): ByteString
URL tail for this endpoint (method).
optional string tail = 5;
Link copied to clipboard
open fun getType(): EndpointType
Type of endpoint detected or configured for this payload.
.elide.meta.EndpointType type = 3;
Link copied to clipboard
open fun getTypeValue(): Int
Type of endpoint detected or configured for this payload.
.elide.meta.EndpointType type = 3;
Link copied to clipboard
fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
open fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
open fun hasHandler(): Boolean
Value of the `name` parameter for the parent handler, if known.
optional string handler = 12;
Link copied to clipboard
open fun hasName(): Boolean
Name given to an endpoint, if applicable; this parameter considers the method name as well as the handler name.
optional string name = 2;
Link copied to clipboard
open fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
open fun hasOptions(): Boolean
Options which apply to this endpoint.
.elide.meta.EndpointOptions options = 9;
Link copied to clipboard
open fun hasTail(): Boolean
URL tail for this endpoint (method).
optional string tail = 5;
Link copied to clipboard
Link copied to clipboard
open fun mergeDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Boolean
Link copied to clipboard
abstract fun mergeFrom(other: Message): Message.Builder
open fun mergeFrom(other: Message): Endpoint.Builder
open fun mergeFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Endpoint.Builder
Link copied to clipboard
Options which apply to this endpoint.
.elide.meta.EndpointOptions options = 9;
Link copied to clipboard
open fun mergeUnknownFields(unknownFields: UnknownFieldSet): BuilderType
open fun mergeUnknownFields(unknownFields: UnknownFieldSet): BuilderT
abstract fun mergeUnknownFields(unknownFields: UnknownFieldSet): Message.Builder
Link copied to clipboard
open fun newBuilderForField(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
open fun setBase(value: String): Endpoint.Builder
URL base for this endpoint (controller).
string base = 4;
Link copied to clipboard
open fun setBaseBytes(value: ByteString): Endpoint.Builder
URL base for this endpoint (controller).
string base = 4;
Link copied to clipboard
open fun setConsumes(index: Int, value: String): Endpoint.Builder
Types accepted by this method.
repeated string consumes = 6;
Link copied to clipboard
open fun setField(field: Descriptors.FieldDescriptor, value: Any): BuilderT
abstract fun setField(field: Descriptors.FieldDescriptor, value: Any): Message.Builder
Link copied to clipboard
Value of the `name` parameter for the parent handler, if known.
optional string handler = 12;
Link copied to clipboard
open fun setHandlerBytes(value: ByteString): Endpoint.Builder
Value of the `name` parameter for the parent handler, if known.
optional string handler = 12;
Link copied to clipboard
open fun setImpl(value: String): Endpoint.Builder
Fully qualified path to the implementation class.
string impl = 10;
Link copied to clipboard
open fun setImplBytes(value: ByteString): Endpoint.Builder
Fully qualified path to the implementation class.
string impl = 10;
Link copied to clipboard
Member function bound to this route on `impl`.
string member = 11;
Link copied to clipboard
open fun setMemberBytes(value: ByteString): Endpoint.Builder
Member function bound to this route on `impl`.
string member = 11;
Link copied to clipboard
open fun setMethod(index: Int, value: EndpointMethods): Endpoint.Builder
HTTP methods supported by this endpoint.
repeated .elide.meta.EndpointMethods method = 8;
Link copied to clipboard
open fun setMethodValue(index: Int, value: Int): Endpoint.Builder
HTTP methods supported by this endpoint.
repeated .elide.meta.EndpointMethods method = 8;
Link copied to clipboard
open fun setName(value: String): Endpoint.Builder
Name given to an endpoint, if applicable; this parameter considers the method name as well as the handler name.
optional string name = 2;
Link copied to clipboard
open fun setNameBytes(value: ByteString): Endpoint.Builder
Name given to an endpoint, if applicable; this parameter considers the method name as well as the handler name.
optional string name = 2;
Link copied to clipboard
Options which apply to this endpoint.
.elide.meta.EndpointOptions options = 9;
Link copied to clipboard
open fun setProduces(index: Int, value: String): Endpoint.Builder
Types produced by this method.
repeated string produces = 7;
Link copied to clipboard
open fun setRepeatedField(field: Descriptors.FieldDescriptor, index: Int, value: Any): BuilderT
abstract fun setRepeatedField(field: Descriptors.FieldDescriptor, index: Int, value: Any): Message.Builder
Link copied to clipboard
open fun setTag(value: String): Endpoint.Builder
Tag generated for an endpoint.
string tag = 1;
Link copied to clipboard
open fun setTagBytes(value: ByteString): Endpoint.Builder
Tag generated for an endpoint.
string tag = 1;
Link copied to clipboard
open fun setTail(value: String): Endpoint.Builder
URL tail for this endpoint (method).
optional string tail = 5;
Link copied to clipboard
open fun setTailBytes(value: ByteString): Endpoint.Builder
URL tail for this endpoint (method).
optional string tail = 5;
Link copied to clipboard
Type of endpoint detected or configured for this payload.
.elide.meta.EndpointType type = 3;
Link copied to clipboard
Type of endpoint detected or configured for this payload.
.elide.meta.EndpointType type = 3;
Link copied to clipboard
open fun setUnknownFields(unknownFields: UnknownFieldSet): BuilderT
abstract fun setUnknownFields(unknownFields: UnknownFieldSet): Message.Builder
Link copied to clipboard
open fun toString(): String