Package io.grpc.testing.integration
Interface Messages.ClientConfigureRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Messages.ClientConfigureRequest,Messages.ClientConfigureRequest.Builder
- Enclosing class:
- Messages
public static interface Messages.ClientConfigureRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Messages.ClientConfigureRequest.MetadatagetMetadata(int index)The collection of custom metadata to be attached to RPCs sent by the client.intgetMetadataCount()The collection of custom metadata to be attached to RPCs sent by the client.java.util.List<Messages.ClientConfigureRequest.Metadata>getMetadataList()The collection of custom metadata to be attached to RPCs sent by the client.Messages.ClientConfigureRequest.MetadataOrBuildergetMetadataOrBuilder(int index)The collection of custom metadata to be attached to RPCs sent by the client.java.util.List<? extends Messages.ClientConfigureRequest.MetadataOrBuilder>getMetadataOrBuilderList()The collection of custom metadata to be attached to RPCs sent by the client.intgetTimeoutSec()The deadline to use, in seconds, for all RPCs.Messages.ClientConfigureRequest.RpcTypegetTypes(int index)The types of RPCs the client sends.intgetTypesCount()The types of RPCs the client sends.java.util.List<Messages.ClientConfigureRequest.RpcType>getTypesList()The types of RPCs the client sends.intgetTypesValue(int index)The types of RPCs the client sends.java.util.List<java.lang.Integer>getTypesValueList()The types of RPCs the client sends.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypesList
java.util.List<Messages.ClientConfigureRequest.RpcType> getTypesList()
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;- Returns:
- A list containing the types.
-
getTypesCount
int getTypesCount()
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;- Returns:
- The count of types.
-
getTypes
Messages.ClientConfigureRequest.RpcType getTypes(int index)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;- Parameters:
index- The index of the element to return.- Returns:
- The types at the given index.
-
getTypesValueList
java.util.List<java.lang.Integer> getTypesValueList()
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;- Returns:
- A list containing the enum numeric values on the wire for types.
-
getTypesValue
int getTypesValue(int index)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of types at the given index.
-
getMetadataList
java.util.List<Messages.ClientConfigureRequest.Metadata> getMetadataList()
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;
-
getMetadata
Messages.ClientConfigureRequest.Metadata getMetadata(int index)
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;
-
getMetadataCount
int getMetadataCount()
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;
-
getMetadataOrBuilderList
java.util.List<? extends Messages.ClientConfigureRequest.MetadataOrBuilder> getMetadataOrBuilderList()
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;
-
getMetadataOrBuilder
Messages.ClientConfigureRequest.MetadataOrBuilder getMetadataOrBuilder(int index)
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;
-
getTimeoutSec
int getTimeoutSec()
The deadline to use, in seconds, for all RPCs. If unset or zero, the client will use the default from the command-line.
int32 timeout_sec = 3;- Returns:
- The timeoutSec.
-
-