Class BatchUpdateIntentsResponse.Builder (4.7.4)

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

The response message for Intents.BatchUpdateIntents.

Protobuf type google.cloud.dialogflow.v2.BatchUpdateIntentsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v2.Intent intents = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.v2.Intent>
Returns
TypeDescription
BatchUpdateIntentsResponse.Builder

addIntents(Intent value)

public BatchUpdateIntentsResponse.Builder addIntents(Intent value)

The collection of updated or created intents.

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

Parameter
NameDescription
valueIntent
Returns
TypeDescription
BatchUpdateIntentsResponse.Builder

addIntents(Intent.Builder builderForValue)

public BatchUpdateIntentsResponse.Builder addIntents(Intent.Builder builderForValue)

The collection of updated or created intents.

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

Parameter
NameDescription
builderForValueIntent.Builder
Returns
TypeDescription
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.v2.Intent intents = 1;

Parameters
NameDescription
indexint
valueIntent
Returns
TypeDescription
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.v2.Intent intents = 1;

Parameters
NameDescription
indexint
builderForValueIntent.Builder
Returns
TypeDescription
BatchUpdateIntentsResponse.Builder

addIntentsBuilder()

public Intent.Builder addIntentsBuilder()

The collection of updated or created intents.

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

Returns
TypeDescription
Intent.Builder

addIntentsBuilder(int index)

public Intent.Builder addIntentsBuilder(int index)

The collection of updated or created intents.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Intent.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchUpdateIntentsResponse build()
Returns
TypeDescription
BatchUpdateIntentsResponse

buildPartial()

public BatchUpdateIntentsResponse buildPartial()
Returns
TypeDescription
BatchUpdateIntentsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIntents()

public BatchUpdateIntentsResponse.Builder clearIntents()

The collection of updated or created intents.

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

Returns
TypeDescription
BatchUpdateIntentsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BatchUpdateIntentsResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchUpdateIntentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIntents(int index)

public Intent getIntents(int index)

The collection of updated or created intents.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Intent

getIntentsBuilder(int index)

public Intent.Builder getIntentsBuilder(int index)

The collection of updated or created intents.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Intent.Builder

getIntentsBuilderList()

public List<Intent.Builder> getIntentsBuilderList()

The collection of updated or created intents.

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

Returns
TypeDescription
List<Builder>

getIntentsCount()

public int getIntentsCount()

The collection of updated or created intents.

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

Returns
TypeDescription
int

getIntentsList()

public List<Intent> getIntentsList()

The collection of updated or created intents.

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

Returns
TypeDescription
List<Intent>

getIntentsOrBuilder(int index)

public IntentOrBuilder getIntentsOrBuilder(int index)

The collection of updated or created intents.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
IntentOrBuilder

getIntentsOrBuilderList()

public List<? extends IntentOrBuilder> getIntentsOrBuilderList()

The collection of updated or created intents.

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

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2.IntentOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchUpdateIntentsResponse other)

public BatchUpdateIntentsResponse.Builder mergeFrom(BatchUpdateIntentsResponse other)
Parameter
NameDescription
otherBatchUpdateIntentsResponse
Returns
TypeDescription
BatchUpdateIntentsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeIntents(int index)

public BatchUpdateIntentsResponse.Builder removeIntents(int index)

The collection of updated or created intents.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchUpdateIntentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchUpdateIntentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v2.Intent intents = 1;

Parameters
NameDescription
indexint
valueIntent
Returns
TypeDescription
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.v2.Intent intents = 1;

Parameters
NameDescription
indexint
builderForValueIntent.Builder
Returns
TypeDescription
BatchUpdateIntentsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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