Class BatchUpdateIntentsResponse.Builder (4.24.0)

public static final class BatchUpdateIntentsResponse.Builder extends GeneratedMessageV3.Builder<BatchUpdateIntentsResponse.Builder> implements BatchUpdateIntentsResponseOrBuilder

The response message for Intents.BatchUpdateIntents.

Protobuf type google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse

Static Methods

getDescriptor()

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

Methods

addAllIntents(Iterable<? extends Intent> values)

public BatchUpdateIntentsResponse.Builder addAllIntents(Iterable<? extends Intent> values)

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2beta1.Intent>
Returns
Type Description
BatchUpdateIntentsResponse.Builder

addIntents(Intent value)

public BatchUpdateIntentsResponse.Builder addIntents(Intent value)

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Parameter
Name Description
value Intent
Returns
Type Description
BatchUpdateIntentsResponse.Builder

addIntents(Intent.Builder builderForValue)

public BatchUpdateIntentsResponse.Builder addIntents(Intent.Builder builderForValue)

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Parameter
Name Description
builderForValue Intent.Builder
Returns
Type Description
BatchUpdateIntentsResponse.Builder

addIntents(int index, Intent value)

public BatchUpdateIntentsResponse.Builder addIntents(int index, Intent value)

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Parameters
Name Description
index int
value Intent
Returns
Type Description
BatchUpdateIntentsResponse.Builder

addIntents(int index, Intent.Builder builderForValue)

public BatchUpdateIntentsResponse.Builder addIntents(int index, Intent.Builder builderForValue)

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Parameters
Name Description
index int
builderForValue Intent.Builder
Returns
Type Description
BatchUpdateIntentsResponse.Builder

addIntentsBuilder()

public Intent.Builder addIntentsBuilder()

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Returns
Type Description
Intent.Builder

addIntentsBuilder(int index)

public Intent.Builder addIntentsBuilder(int index)

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Parameter
Name Description
index int
Returns
Type Description
Intent.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchUpdateIntentsResponse build()
Returns
Type Description
BatchUpdateIntentsResponse

buildPartial()

public BatchUpdateIntentsResponse buildPartial()
Returns
Type Description
BatchUpdateIntentsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIntents()

public BatchUpdateIntentsResponse.Builder clearIntents()

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Returns
Type Description
BatchUpdateIntentsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BatchUpdateIntentsResponse getDefaultInstanceForType()
Returns
Type Description
BatchUpdateIntentsResponse

getDescriptorForType()

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

getIntents(int index)

public Intent getIntents(int index)

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Parameter
Name Description
index int
Returns
Type Description
Intent

getIntentsBuilder(int index)

public Intent.Builder getIntentsBuilder(int index)

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Parameter
Name Description
index int
Returns
Type Description
Intent.Builder

getIntentsBuilderList()

public List<Intent.Builder> getIntentsBuilderList()

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Returns
Type Description
List<Builder>

getIntentsCount()

public int getIntentsCount()

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Returns
Type Description
int

getIntentsList()

public List<Intent> getIntentsList()

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Returns
Type Description
List<Intent>

getIntentsOrBuilder(int index)

public IntentOrBuilder getIntentsOrBuilder(int index)

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Parameter
Name Description
index int
Returns
Type Description
IntentOrBuilder

getIntentsOrBuilderList()

public List<? extends IntentOrBuilder> getIntentsOrBuilderList()

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.IntentOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchUpdateIntentsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateIntentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchUpdateIntentsResponse.Builder
Overrides

removeIntents(int index)

public BatchUpdateIntentsResponse.Builder removeIntents(int index)

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchUpdateIntentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIntents(int index, Intent value)

public BatchUpdateIntentsResponse.Builder setIntents(int index, Intent value)

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Parameters
Name Description
index int
value Intent
Returns
Type Description
BatchUpdateIntentsResponse.Builder

setIntents(int index, Intent.Builder builderForValue)

public BatchUpdateIntentsResponse.Builder setIntents(int index, Intent.Builder builderForValue)

The collection of updated or created intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Parameters
Name Description
index int
builderForValue Intent.Builder
Returns
Type Description
BatchUpdateIntentsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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