public static final class A2AArtifact.Builder extends GeneratedMessage.Builder<A2AArtifact.Builder> implements A2AArtifactOrBuilderA2AArtifact is the container for task completed results.
Protobuf type google.cloud.geminidataanalytics.v1beta.A2AArtifact
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > A2AArtifact.BuilderImplements
A2AArtifactOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllExtensions(Iterable<String> values)
public A2AArtifact.Builder addAllExtensions(Iterable<String> values)Optional. The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The extensions to add. |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
This builder for chaining. |
addAllParts(Iterable<? extends Part> values)
public A2AArtifact.Builder addAllParts(Iterable<? extends Part> values)Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.geminidataanalytics.v1beta.Part> |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|
addExtensions(String value)
public A2AArtifact.Builder addExtensions(String value)Optional. The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe extensions to add. |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
This builder for chaining. |
addExtensionsBytes(ByteString value)
public A2AArtifact.Builder addExtensionsBytes(ByteString value)Optional. The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the extensions to add. |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
This builder for chaining. |
addParts(Part value)
public A2AArtifact.Builder addParts(Part value)Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Part |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|
addParts(Part.Builder builderForValue)
public A2AArtifact.Builder addParts(Part.Builder builderForValue)Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Part.Builder |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|
addParts(int index, Part value)
public A2AArtifact.Builder addParts(int index, Part value)Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Part |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|
addParts(int index, Part.Builder builderForValue)
public A2AArtifact.Builder addParts(int index, Part.Builder builderForValue)Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Part.Builder |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|
addPartsBuilder()
public Part.Builder addPartsBuilder()Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Part.Builder |
|
addPartsBuilder(int index)
public Part.Builder addPartsBuilder(int index)Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Part.Builder |
|
build()
public A2AArtifact build()| Returns | |
|---|---|
| Type | Description |
A2AArtifact |
|
buildPartial()
public A2AArtifact buildPartial()| Returns | |
|---|---|
| Type | Description |
A2AArtifact |
|
clear()
public A2AArtifact.Builder clear()| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|
clearArtifactId()
public A2AArtifact.Builder clearArtifactId()Optional. Unique identifier (e.g. UUID) for the artifact.
string artifact_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
This builder for chaining. |
clearDescription()
public A2AArtifact.Builder clearDescription()Optional. A human readable description of the artifact, optional.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
This builder for chaining. |
clearExtensions()
public A2AArtifact.Builder clearExtensions()Optional. The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
This builder for chaining. |
clearMetadata()
public A2AArtifact.Builder clearMetadata()Optional. Optional metadata included with the artifact.
.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|
clearName()
public A2AArtifact.Builder clearName()Optional. A human readable name for the artifact.
string name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
This builder for chaining. |
clearParts()
public A2AArtifact.Builder clearParts()Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|
getArtifactId()
public String getArtifactId()Optional. Unique identifier (e.g. UUID) for the artifact.
string artifact_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The artifactId. |
getArtifactIdBytes()
public ByteString getArtifactIdBytes()Optional. Unique identifier (e.g. UUID) for the artifact.
string artifact_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for artifactId. |
getDefaultInstanceForType()
public A2AArtifact getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
A2AArtifact |
|
getDescription()
public String getDescription()Optional. A human readable description of the artifact, optional.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. A human readable description of the artifact, optional.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExtensions(int index)
public String getExtensions(int index)Optional. The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The extensions at the given index. |
getExtensionsBytes(int index)
public ByteString getExtensionsBytes(int index)Optional. The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the extensions at the given index. |
getExtensionsCount()
public int getExtensionsCount()Optional. The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of extensions. |
getExtensionsList()
public ProtocolStringList getExtensionsList()Optional. The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the extensions. |
getMetadata()
public Struct getMetadata()Optional. Optional metadata included with the artifact.
.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Struct |
The metadata. |
getMetadataBuilder()
public Struct.Builder getMetadataBuilder()Optional. Optional metadata included with the artifact.
.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getMetadataOrBuilder()
public StructOrBuilder getMetadataOrBuilder()Optional. Optional metadata included with the artifact.
.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getName()
public String getName()Optional. A human readable name for the artifact.
string name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Optional. A human readable name for the artifact.
string name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getParts(int index)
public Part getParts(int index)Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Part |
|
getPartsBuilder(int index)
public Part.Builder getPartsBuilder(int index)Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Part.Builder |
|
getPartsBuilderList()
public List<Part.Builder> getPartsBuilderList()Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getPartsCount()
public int getPartsCount()Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getPartsList()
public List<Part> getPartsList()Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Part> |
|
getPartsOrBuilder(int index)
public PartOrBuilder getPartsOrBuilder(int index)Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PartOrBuilder |
|
getPartsOrBuilderList()
public List<? extends PartOrBuilder> getPartsOrBuilderList()Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.PartOrBuilder> |
|
hasMetadata()
public boolean hasMetadata()Optional. Optional metadata included with the artifact.
.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metadata field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(A2AArtifact other)
public A2AArtifact.Builder mergeFrom(A2AArtifact other)| Parameter | |
|---|---|
| Name | Description |
other |
A2AArtifact |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public A2AArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public A2AArtifact.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|
mergeMetadata(Struct value)
public A2AArtifact.Builder mergeMetadata(Struct value)Optional. Optional metadata included with the artifact.
.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|
removeParts(int index)
public A2AArtifact.Builder removeParts(int index)Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|
setArtifactId(String value)
public A2AArtifact.Builder setArtifactId(String value)Optional. Unique identifier (e.g. UUID) for the artifact.
string artifact_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe artifactId to set. |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
This builder for chaining. |
setArtifactIdBytes(ByteString value)
public A2AArtifact.Builder setArtifactIdBytes(ByteString value)Optional. Unique identifier (e.g. UUID) for the artifact.
string artifact_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for artifactId to set. |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
This builder for chaining. |
setDescription(String value)
public A2AArtifact.Builder setDescription(String value)Optional. A human readable description of the artifact, optional.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public A2AArtifact.Builder setDescriptionBytes(ByteString value)Optional. A human readable description of the artifact, optional.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
This builder for chaining. |
setExtensions(int index, String value)
public A2AArtifact.Builder setExtensions(int index, String value)Optional. The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe extensions to set. |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
This builder for chaining. |
setMetadata(Struct value)
public A2AArtifact.Builder setMetadata(Struct value)Optional. Optional metadata included with the artifact.
.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|
setMetadata(Struct.Builder builderForValue)
public A2AArtifact.Builder setMetadata(Struct.Builder builderForValue)Optional. Optional metadata included with the artifact.
.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|
setName(String value)
public A2AArtifact.Builder setName(String value)Optional. A human readable name for the artifact.
string name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public A2AArtifact.Builder setNameBytes(ByteString value)Optional. A human readable name for the artifact.
string name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
This builder for chaining. |
setParts(int index, Part value)
public A2AArtifact.Builder setParts(int index, Part value)Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Part |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|
setParts(int index, Part.Builder builderForValue)
public A2AArtifact.Builder setParts(int index, Part.Builder builderForValue)Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Part.Builder |
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|