public static final class StreamAssistResponse.InvokedSkill.Builder extends GeneratedMessage.Builder<StreamAssistResponse.InvokedSkill.Builder> implements StreamAssistResponse.InvokedSkillOrBuilderRepresents a skill used during the assist call.
Protobuf type google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StreamAssistResponse.InvokedSkill.BuilderImplements
StreamAssistResponse.InvokedSkillOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StreamAssistResponse.InvokedSkill build()| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkill |
|
buildPartial()
public StreamAssistResponse.InvokedSkill buildPartial()| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkill |
|
clear()
public StreamAssistResponse.InvokedSkill.Builder clear()| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkill.Builder |
|
clearDisplayName()
public StreamAssistResponse.InvokedSkill.Builder clearDisplayName()The display name of the skill.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkill.Builder |
This builder for chaining. |
clearName()
public StreamAssistResponse.InvokedSkill.Builder clearName()The resource name of the skill.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkill.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public StreamAssistResponse.InvokedSkill getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkill |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()The display name of the skill.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()The display name of the skill.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getName()
public String getName()The resource name of the skill.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The resource name of the skill.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(StreamAssistResponse.InvokedSkill other)
public StreamAssistResponse.InvokedSkill.Builder mergeFrom(StreamAssistResponse.InvokedSkill other)| Parameter | |
|---|---|
| Name | Description |
other |
StreamAssistResponse.InvokedSkill |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkill.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamAssistResponse.InvokedSkill.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkill.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StreamAssistResponse.InvokedSkill.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkill.Builder |
|
setDisplayName(String value)
public StreamAssistResponse.InvokedSkill.Builder setDisplayName(String value)The display name of the skill.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkill.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public StreamAssistResponse.InvokedSkill.Builder setDisplayNameBytes(ByteString value)The display name of the skill.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkill.Builder |
This builder for chaining. |
setName(String value)
public StreamAssistResponse.InvokedSkill.Builder setName(String value)The resource name of the skill.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkill.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public StreamAssistResponse.InvokedSkill.Builder setNameBytes(ByteString value)The resource name of the skill.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkill.Builder |
This builder for chaining. |