Record Class BatchRequestResponse.BatchIncomplete<T>
java.lang.Object
java.lang.Record
dev.langchain4j.model.googleai.BatchRequestResponse.BatchIncomplete<T>
- All Implemented Interfaces:
BatchRequestResponse.BatchResponse<T>
- Enclosing class:
BatchRequestResponse
public static record BatchRequestResponse.BatchIncomplete<T>(BatchRequestResponse.BatchName batchName, BatchRequestResponse.BatchJobState state)
extends Record
implements BatchRequestResponse.BatchResponse<T>
Represents a batch operation that is currently pending or in progress.
-
Constructor Summary
ConstructorsConstructorDescriptionBatchIncomplete(BatchRequestResponse.BatchName batchName, BatchRequestResponse.BatchJobState state) Creates an instance of aBatchIncompleterecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebatchNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BatchIncomplete
public BatchIncomplete(BatchRequestResponse.BatchName batchName, BatchRequestResponse.BatchJobState state) Creates an instance of aBatchIncompleterecord class.- Parameters:
batchName- the value for thebatchNamerecord componentstate- the value for thestaterecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
batchName
Returns the value of thebatchNamerecord component.- Returns:
- the value of the
batchNamerecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-