public static final class AgentCapabilities.Builder extends GeneratedMessage.Builder<AgentCapabilities.Builder> implements AgentCapabilitiesOrBuilderDefines the A2A feature set supported by the agent.
Protobuf type google.cloud.geminidataanalytics.v1beta.AgentCapabilities
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AgentCapabilities.BuilderImplements
AgentCapabilitiesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllExtensions(Iterable<? extends AgentExtension> values)
public AgentCapabilities.Builder addAllExtensions(Iterable<? extends AgentExtension> values)Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.geminidataanalytics.v1beta.AgentExtension> |
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
|
addExtensions(AgentExtension value)
public AgentCapabilities.Builder addExtensions(AgentExtension value)Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentExtension |
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
|
addExtensions(AgentExtension.Builder builderForValue)
public AgentCapabilities.Builder addExtensions(AgentExtension.Builder builderForValue)Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AgentExtension.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
|
addExtensions(int index, AgentExtension value)
public AgentCapabilities.Builder addExtensions(int index, AgentExtension value)Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AgentExtension |
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
|
addExtensions(int index, AgentExtension.Builder builderForValue)
public AgentCapabilities.Builder addExtensions(int index, AgentExtension.Builder builderForValue)Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AgentExtension.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
|
addExtensionsBuilder()
public AgentExtension.Builder addExtensionsBuilder()Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentExtension.Builder |
|
addExtensionsBuilder(int index)
public AgentExtension.Builder addExtensionsBuilder(int index)Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentExtension.Builder |
|
build()
public AgentCapabilities build()| Returns | |
|---|---|
| Type | Description |
AgentCapabilities |
|
buildPartial()
public AgentCapabilities buildPartial()| Returns | |
|---|---|
| Type | Description |
AgentCapabilities |
|
clear()
public AgentCapabilities.Builder clear()| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
|
clearExtensions()
public AgentCapabilities.Builder clearExtensions()Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
|
clearPushNotifications()
public AgentCapabilities.Builder clearPushNotifications()Optional. If the agent can send push notifications to the client's webhook.
bool push_notifications = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
This builder for chaining. |
clearStreaming()
public AgentCapabilities.Builder clearStreaming()Optional. If the agent will support streaming responses.
bool streaming = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AgentCapabilities getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AgentCapabilities |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExtensions(int index)
public AgentExtension getExtensions(int index)Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentExtension |
|
getExtensionsBuilder(int index)
public AgentExtension.Builder getExtensionsBuilder(int index)Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentExtension.Builder |
|
getExtensionsBuilderList()
public List<AgentExtension.Builder> getExtensionsBuilderList()Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getExtensionsCount()
public int getExtensionsCount()Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getExtensionsList()
public List<AgentExtension> getExtensionsList()Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<AgentExtension> |
|
getExtensionsOrBuilder(int index)
public AgentExtensionOrBuilder getExtensionsOrBuilder(int index)Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentExtensionOrBuilder |
|
getExtensionsOrBuilderList()
public List<? extends AgentExtensionOrBuilder> getExtensionsOrBuilderList()Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.AgentExtensionOrBuilder> |
|
getPushNotifications()
public boolean getPushNotifications()Optional. If the agent can send push notifications to the client's webhook.
bool push_notifications = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The pushNotifications. |
getStreaming()
public boolean getStreaming()Optional. If the agent will support streaming responses.
bool streaming = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The streaming. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AgentCapabilities other)
public AgentCapabilities.Builder mergeFrom(AgentCapabilities other)| Parameter | |
|---|---|
| Name | Description |
other |
AgentCapabilities |
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AgentCapabilities.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AgentCapabilities.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
|
removeExtensions(int index)
public AgentCapabilities.Builder removeExtensions(int index)Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
|
setExtensions(int index, AgentExtension value)
public AgentCapabilities.Builder setExtensions(int index, AgentExtension value)Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AgentExtension |
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
|
setExtensions(int index, AgentExtension.Builder builderForValue)
public AgentCapabilities.Builder setExtensions(int index, AgentExtension.Builder builderForValue)Optional. Extensions supported by this agent.
repeated .google.cloud.geminidataanalytics.v1beta.AgentExtension extensions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AgentExtension.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
|
setPushNotifications(boolean value)
public AgentCapabilities.Builder setPushNotifications(boolean value)Optional. If the agent can send push notifications to the client's webhook.
bool push_notifications = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe pushNotifications to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
This builder for chaining. |
setStreaming(boolean value)
public AgentCapabilities.Builder setStreaming(boolean value)Optional. If the agent will support streaming responses.
bool streaming = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe streaming to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
This builder for chaining. |