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
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
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.Intent>
|
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addIntentsBuilder()
public Intent.Builder addIntentsBuilder()
The collection of updated or created intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Returns
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
Name |
Description |
index |
int
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateIntentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BatchUpdateIntentsResponse build()
Returns
buildPartial()
public BatchUpdateIntentsResponse buildPartial()
Returns
clear()
public BatchUpdateIntentsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchUpdateIntentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearIntents()
public BatchUpdateIntentsResponse.Builder clearIntents()
The collection of updated or created intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchUpdateIntentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public BatchUpdateIntentsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BatchUpdateIntentsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Name |
Description |
index |
int
|
Returns
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
Name |
Description |
index |
int
|
Returns
getIntentsBuilderList()
public List<Intent.Builder> getIntentsBuilderList()
The collection of updated or created intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Returns
getIntentsCount()
public int getIntentsCount()
The collection of updated or created intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Returns
getIntentsList()
public List<Intent> getIntentsList()
The collection of updated or created intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Returns
getIntentsOrBuilder(int index)
public IntentOrBuilder getIntentsOrBuilder(int index)
The collection of updated or created intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getIntentsOrBuilderList()
public List<? extends IntentOrBuilder> getIntentsOrBuilderList()
The collection of updated or created intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.IntentOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BatchUpdateIntentsResponse other)
public BatchUpdateIntentsResponse.Builder mergeFrom(BatchUpdateIntentsResponse other)
Parameter
Returns
public BatchUpdateIntentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchUpdateIntentsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateIntentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Name |
Description |
index |
int
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateIntentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchUpdateIntentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateIntentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides