protected static class PayloadPart.BuilderImpl extends Object implements PayloadPart.Builder
| Modifier | Constructor and Description |
|---|---|
protected |
BuilderImpl() |
protected |
BuilderImpl(PayloadPart model) |
| Modifier and Type | Method and Description |
|---|---|
PayloadPart |
build() |
PayloadPart.Builder |
bytes(SdkBytes bytes)
A blob that contains part of the response for your streaming inference request.
|
ByteBuffer |
getBytes() |
List<SdkField<?>> |
sdkFields() |
void |
setBytes(ByteBuffer bytes) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalsBySdkFieldscopyapplyMutationprotected BuilderImpl()
protected BuilderImpl(PayloadPart model)
public final ByteBuffer getBytes()
public final void setBytes(ByteBuffer bytes)
public final PayloadPart.Builder bytes(SdkBytes bytes)
PayloadPart.BuilderA blob that contains part of the response for your streaming inference request.
bytes in interface PayloadPart.Builderbytes - A blob that contains part of the response for your streaming inference request.public PayloadPart build()
build in interface Buildablebuild in interface SdkBuilder<PayloadPart.Builder,PayloadPart>Copyright © 2023. All rights reserved.