Class StreamAssistResponse.InvokedSkill.Builder (0.90.0)

public static final class StreamAssistResponse.InvokedSkill.Builder extends GeneratedMessage.Builder<StreamAssistResponse.InvokedSkill.Builder> implements StreamAssistResponse.InvokedSkillOrBuilder

Represents a skill used during the assist call.

Protobuf type google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

setDisplayName(String value)

public StreamAssistResponse.InvokedSkill.Builder setDisplayName(String value)

The display name of the skill.

string display_name = 2;

Parameter
Name Description
value String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for name to set.

Returns
Type Description
StreamAssistResponse.InvokedSkill.Builder

This builder for chaining.