Interface DescriptorProtos.MethodDescriptorProtoOrBuilder (3.19.4)

public static interface DescriptorProtos.MethodDescriptorProtoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClientStreaming()

public abstract boolean getClientStreaming()

Identifies if client streams multiple client messages

optional bool client_streaming = 5 [default = false];

Returns
Type Description
boolean

The clientStreaming.

getInputType()

public abstract String getInputType()

Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.

optional string input_type = 2;

Returns
Type Description
String

The inputType.

getInputTypeBytes()

public abstract ByteString getInputTypeBytes()

Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.

optional string input_type = 2;

Returns
Type Description
ByteString

The bytes for inputType.

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.MethodOptions getOptions()

optional .google.protobuf.MethodOptions options = 4;

Returns
Type Description
DescriptorProtos.MethodOptions

The options.

getOptionsOrBuilder()

public abstract DescriptorProtos.MethodOptionsOrBuilder getOptionsOrBuilder()

optional .google.protobuf.MethodOptions options = 4;

Returns
Type Description
DescriptorProtos.MethodOptionsOrBuilder

getOutputType()

public abstract String getOutputType()

optional string output_type = 3;

Returns
Type Description
String

The outputType.

getOutputTypeBytes()

public abstract ByteString getOutputTypeBytes()

optional string output_type = 3;

Returns
Type Description
ByteString

The bytes for outputType.

getServerStreaming()

public abstract boolean getServerStreaming()

Identifies if server streams multiple server messages

optional bool server_streaming = 6 [default = false];

Returns
Type Description
boolean

The serverStreaming.

hasClientStreaming()

public abstract boolean hasClientStreaming()

Identifies if client streams multiple client messages

optional bool client_streaming = 5 [default = false];

Returns
Type Description
boolean

Whether the clientStreaming field is set.

hasInputType()

public abstract boolean hasInputType()

Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.

optional string input_type = 2;

Returns
Type Description
boolean

Whether the inputType field is set.

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.MethodOptions options = 4;

Returns
Type Description
boolean

Whether the options field is set.

hasOutputType()

public abstract boolean hasOutputType()

optional string output_type = 3;

Returns
Type Description
boolean

Whether the outputType field is set.

hasServerStreaming()

public abstract boolean hasServerStreaming()

Identifies if server streams multiple server messages

optional bool server_streaming = 6 [default = false];

Returns
Type Description
boolean

Whether the serverStreaming field is set.