Class InlineSource.Builder (0.53.0)

public static final class InlineSource.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InlineSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InlineSource.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public InlineSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InlineSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InlineSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InlineSource.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InlineSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public InlineSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InlineSource.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InlineSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InlineSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InlineSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InlineSource.Builder
Overrides