public static interface DescriptorProtos.ServiceDescriptorProtoOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getMethod(int index)
public abstract DescriptorProtos.MethodDescriptorProto getMethod(int index)
repeated .google.protobuf.MethodDescriptorProto method = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
DescriptorProtos.MethodDescriptorProto |
getMethodCount()
public abstract int getMethodCount()
repeated .google.protobuf.MethodDescriptorProto method = 2;
Returns | |
---|---|
Type | Description |
int |
getMethodList()
public abstract List<DescriptorProtos.MethodDescriptorProto> getMethodList()
repeated .google.protobuf.MethodDescriptorProto method = 2;
Returns | |
---|---|
Type | Description |
List<MethodDescriptorProto> |
getMethodOrBuilder(int index)
public abstract DescriptorProtos.MethodDescriptorProtoOrBuilder getMethodOrBuilder(int index)
repeated .google.protobuf.MethodDescriptorProto method = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
DescriptorProtos.MethodDescriptorProtoOrBuilder |
getMethodOrBuilderList()
public abstract List<? extends DescriptorProtos.MethodDescriptorProtoOrBuilder> getMethodOrBuilderList()
repeated .google.protobuf.MethodDescriptorProto method = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder> |
getName()
public abstract String getName()
optional string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
optional string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getOptions()
public abstract DescriptorProtos.ServiceOptions getOptions()
optional .google.protobuf.ServiceOptions options = 3;
Returns | |
---|---|
Type | Description |
DescriptorProtos.ServiceOptions | The options. |
getOptionsOrBuilder()
public abstract DescriptorProtos.ServiceOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.ServiceOptions options = 3;
Returns | |
---|---|
Type | Description |
DescriptorProtos.ServiceOptionsOrBuilder |
hasName()
public abstract boolean hasName()
optional string name = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the name field is set. |
hasOptions()
public abstract boolean hasOptions()
optional .google.protobuf.ServiceOptions options = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the options field is set. |