Class InlineSource.Builder (0.94.0)

public static final class InlineSource.Builder extends GeneratedMessage.Builder<InlineSource.Builder> implements InlineSourceOrBuilder

Inline source for a Dialogflow operation that reads or imports objects (e.g. intents) into Dialogflow.

Protobuf type google.cloud.dialogflow.cx.v3beta1.InlineSource

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public InlineSource build()
Returns
Type Description
InlineSource

buildPartial()

public InlineSource buildPartial()
Returns
Type Description
InlineSource

clear()

public InlineSource.Builder clear()
Returns
Type Description
InlineSource.Builder
Overrides

clearContent()

public InlineSource.Builder clearContent()

The uncompressed byte content for the objects.

bytes content = 1;

Returns
Type Description
InlineSource.Builder

This builder for chaining.

getContent()

public ByteString getContent()

The uncompressed byte content for the objects.

bytes content = 1;

Returns
Type Description
ByteString

The content.

getDefaultInstanceForType()

public InlineSource getDefaultInstanceForType()
Returns
Type Description
InlineSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InlineSource other)

public InlineSource.Builder mergeFrom(InlineSource other)
Parameter
Name Description
other InlineSource
Returns
Type Description
InlineSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InlineSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InlineSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InlineSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InlineSource.Builder
Overrides

setContent(ByteString value)

public InlineSource.Builder setContent(ByteString value)

The uncompressed byte content for the objects.

bytes content = 1;

Parameter
Name Description
value ByteString

The content to set.

Returns
Type Description
InlineSource.Builder

This builder for chaining.