Interface DescriptorProtos.ServiceDescriptorProtoOrBuilder (3.19.4)

public static interface DescriptorProtos.ServiceDescriptorProtoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMethod(int index)

public abstract DescriptorProtos.MethodDescriptorProto getMethod(int index)

repeated .google.protobuf.MethodDescriptorProto method = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.MethodDescriptorProto

getMethodCount()

public abstract int getMethodCount()

repeated .google.protobuf.MethodDescriptorProto method = 2;

Returns
TypeDescription
int

getMethodList()

public abstract List<DescriptorProtos.MethodDescriptorProto> getMethodList()

repeated .google.protobuf.MethodDescriptorProto method = 2;

Returns
TypeDescription
List<MethodDescriptorProto>

getMethodOrBuilder(int index)

public abstract DescriptorProtos.MethodDescriptorProtoOrBuilder getMethodOrBuilder(int index)

repeated .google.protobuf.MethodDescriptorProto method = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.MethodDescriptorProtoOrBuilder

getMethodOrBuilderList()

public abstract List<? extends DescriptorProtos.MethodDescriptorProtoOrBuilder> getMethodOrBuilderList()

repeated .google.protobuf.MethodDescriptorProto method = 2;

Returns
TypeDescription
List<? extends com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder>

getName()

public abstract String getName()

optional string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

optional string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getOptions()

public abstract DescriptorProtos.ServiceOptions getOptions()

optional .google.protobuf.ServiceOptions options = 3;

Returns
TypeDescription
DescriptorProtos.ServiceOptions

The options.

getOptionsOrBuilder()

public abstract DescriptorProtos.ServiceOptionsOrBuilder getOptionsOrBuilder()

optional .google.protobuf.ServiceOptions options = 3;

Returns
TypeDescription
DescriptorProtos.ServiceOptionsOrBuilder

hasName()

public abstract boolean hasName()

optional string name = 1;

Returns
TypeDescription
boolean

Whether the name field is set.

hasOptions()

public abstract boolean hasOptions()

optional .google.protobuf.ServiceOptions options = 3;

Returns
TypeDescription
boolean

Whether the options field is set.