Uses of Class
org.a2aproject.sdk.grpc.Part.Builder
Packages that use Part.Builder
-
Uses of Part.Builder in org.a2aproject.sdk.grpc
Methods in org.a2aproject.sdk.grpc that return Part.BuilderModifier and TypeMethodDescriptionArtifact.Builder.addPartsBuilder()The content of the artifact.Artifact.Builder.addPartsBuilder(int index) The content of the artifact.Message.Builder.addPartsBuilder()Parts is the container of the message content.Message.Builder.addPartsBuilder(int index) Parts is the container of the message content.Part.Builder.clear()Part.Builder.clearContent()Part.Builder.clearData()Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).Part.Builder.clearFilename()An optional `filename` for the file (e.g., "document.pdf").Part.Builder.clearMediaType()The `media_type` (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png").Part.Builder.clearMetadata()Optional. metadata associated with this part.Part.Builder.clearRaw()The `raw` byte content of a file.Part.Builder.clearText()The string content of the `text` part.Part.Builder.clearUrl()A `url` pointing to the file's content.Artifact.Builder.getPartsBuilder(int index) The content of the artifact.Message.Builder.getPartsBuilder(int index) Parts is the container of the message content.Part.Builder.mergeData(com.google.protobuf.Value value) Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).Part.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Part.Builder.mergeFrom(com.google.protobuf.Message other) Part.Builder.mergeMetadata(com.google.protobuf.Struct value) Optional. metadata associated with this part.static Part.BuilderPart.newBuilder()static Part.BuilderPart.newBuilder(Part prototype) Part.newBuilderForType()protected Part.BuilderPart.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Part.Builder.setData(com.google.protobuf.Value value) Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).Part.Builder.setData(com.google.protobuf.Value.Builder builderForValue) Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).Part.Builder.setFilename(String value) An optional `filename` for the file (e.g., "document.pdf").Part.Builder.setFilenameBytes(com.google.protobuf.ByteString value) An optional `filename` for the file (e.g., "document.pdf").Part.Builder.setMediaType(String value) The `media_type` (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png").Part.Builder.setMediaTypeBytes(com.google.protobuf.ByteString value) The `media_type` (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png").Part.Builder.setMetadata(com.google.protobuf.Struct value) Optional. metadata associated with this part.Part.Builder.setMetadata(com.google.protobuf.Struct.Builder builderForValue) Optional. metadata associated with this part.Part.Builder.setRaw(com.google.protobuf.ByteString value) The `raw` byte content of a file.The string content of the `text` part.Part.Builder.setTextBytes(com.google.protobuf.ByteString value) The string content of the `text` part.A `url` pointing to the file's content.Part.Builder.setUrlBytes(com.google.protobuf.ByteString value) A `url` pointing to the file's content.Part.toBuilder()Methods in org.a2aproject.sdk.grpc that return types with arguments of type Part.BuilderModifier and TypeMethodDescriptionArtifact.Builder.getPartsBuilderList()The content of the artifact.Message.Builder.getPartsBuilderList()Parts is the container of the message content.Methods in org.a2aproject.sdk.grpc with parameters of type Part.BuilderModifier and TypeMethodDescriptionArtifact.Builder.addParts(int index, Part.Builder builderForValue) The content of the artifact.Artifact.Builder.addParts(Part.Builder builderForValue) The content of the artifact.Message.Builder.addParts(int index, Part.Builder builderForValue) Parts is the container of the message content.Message.Builder.addParts(Part.Builder builderForValue) Parts is the container of the message content.Artifact.Builder.setParts(int index, Part.Builder builderForValue) The content of the artifact.Message.Builder.setParts(int index, Part.Builder builderForValue) Parts is the container of the message content.