Class DeleteIntentRequest.Builder (0.14.1)

public static final class DeleteIntentRequest.Builder extends GeneratedMessageV3.Builder<DeleteIntentRequest.Builder> implements DeleteIntentRequestOrBuilder

The request message for Intents.DeleteIntent.

Protobuf type google.cloud.dialogflow.cx.v3.DeleteIntentRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteIntentRequest build()
Returns
TypeDescription
DeleteIntentRequest

buildPartial()

public DeleteIntentRequest buildPartial()
Returns
TypeDescription
DeleteIntentRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteIntentRequest.Builder clearName()

Required. The name of the intent to delete. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
DeleteIntentRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteIntentRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteIntentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the intent to delete. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the intent to delete. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteIntentRequest other)

public DeleteIntentRequest.Builder mergeFrom(DeleteIntentRequest other)
Parameter
NameDescription
otherDeleteIntentRequest
Returns
TypeDescription
DeleteIntentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteIntentRequest.Builder setName(String value)

Required. The name of the intent to delete. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteIntentRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteIntentRequest.Builder setNameBytes(ByteString value)

Required. The name of the intent to delete. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteIntentRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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