public interface BatchingDescriptorProtoOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getBatchedField()
public abstract String getBatchedField()The repeated field in the request message to be aggregated by batching.
string batched_field = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The batchedField. |
getBatchedFieldBytes()
public abstract ByteString getBatchedFieldBytes()The repeated field in the request message to be aggregated by batching.
string batched_field = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for batchedField. |
getDiscriminatorFields(int index)
public abstract String getDiscriminatorFields(int index) A list of the fields in the request message. Two requests will be batched
together only if the values of every field specified in
request_discriminator_fields is equal between the two requests.
repeated string discriminator_fields = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The discriminatorFields at the given index. |
getDiscriminatorFieldsBytes(int index)
public abstract ByteString getDiscriminatorFieldsBytes(int index) A list of the fields in the request message. Two requests will be batched
together only if the values of every field specified in
request_discriminator_fields is equal between the two requests.
repeated string discriminator_fields = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the discriminatorFields at the given index. |
getDiscriminatorFieldsCount()
public abstract int getDiscriminatorFieldsCount() A list of the fields in the request message. Two requests will be batched
together only if the values of every field specified in
request_discriminator_fields is equal between the two requests.
repeated string discriminator_fields = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of discriminatorFields. |
getDiscriminatorFieldsList()
public abstract List<String> getDiscriminatorFieldsList() A list of the fields in the request message. Two requests will be batched
together only if the values of every field specified in
request_discriminator_fields is equal between the two requests.
repeated string discriminator_fields = 2;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the discriminatorFields. |
getSubresponseField()
public abstract String getSubresponseField()Optional. When present, indicates the field in the response message to be used to demultiplex the response into multiple response messages, in correspondence with the multiple request messages originally batched together.
string subresponse_field = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The subresponseField. |
getSubresponseFieldBytes()
public abstract ByteString getSubresponseFieldBytes()Optional. When present, indicates the field in the response message to be used to demultiplex the response into multiple response messages, in correspondence with the multiple request messages originally batched together.
string subresponse_field = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for subresponseField. |