Class InlineSource.Builder (0.52.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InlineSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InlineSource.Builder
Overrides

build()

public InlineSource build()
Returns
TypeDescription
InlineSource

buildPartial()

public InlineSource buildPartial()
Returns
TypeDescription
InlineSource

clear()

public InlineSource.Builder clear()
Returns
TypeDescription
InlineSource.Builder
Overrides

clearContent()

public InlineSource.Builder clearContent()

The uncompressed byte content for the objects.

bytes content = 1;

Returns
TypeDescription
InlineSource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InlineSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InlineSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InlineSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InlineSource.Builder
Overrides

clone()

public InlineSource.Builder clone()
Returns
TypeDescription
InlineSource.Builder
Overrides

getContent()

public ByteString getContent()

The uncompressed byte content for the objects.

bytes content = 1;

Returns
TypeDescription
ByteString

The content.

getDefaultInstanceForType()

public InlineSource getDefaultInstanceForType()
Returns
TypeDescription
InlineSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InlineSource other)

public InlineSource.Builder mergeFrom(InlineSource other)
Parameter
NameDescription
otherInlineSource
Returns
TypeDescription
InlineSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InlineSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InlineSource.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InlineSource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InlineSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InlineSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InlineSource.Builder
Overrides

setContent(ByteString value)

public InlineSource.Builder setContent(ByteString value)

The uncompressed byte content for the objects.

bytes content = 1;

Parameter
NameDescription
valueByteString

The content to set.

Returns
TypeDescription
InlineSource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InlineSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InlineSource.Builder
Overrides

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

public InlineSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InlineSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InlineSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InlineSource.Builder
Overrides