Class GetFulfillmentRequest.Builder (4.7.5)

public static final class GetFulfillmentRequest.Builder extends GeneratedMessageV3.Builder<GetFulfillmentRequest.Builder> implements GetFulfillmentRequestOrBuilder

The request message for Fulfillments.GetFulfillment.

Protobuf type google.cloud.dialogflow.v2.GetFulfillmentRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetFulfillmentRequest build()
Returns
TypeDescription
GetFulfillmentRequest

buildPartial()

public GetFulfillmentRequest buildPartial()
Returns
TypeDescription
GetFulfillmentRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetFulfillmentRequest.Builder clearName()

Required. The name of the fulfillment. Format: projects/<Project ID>/agent/fulfillment.

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

Returns
TypeDescription
GetFulfillmentRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetFulfillmentRequest getDefaultInstanceForType()
Returns
TypeDescription
GetFulfillmentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the fulfillment. Format: projects/<Project ID>/agent/fulfillment.

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 fulfillment. Format: projects/<Project ID>/agent/fulfillment.

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(GetFulfillmentRequest other)

public GetFulfillmentRequest.Builder mergeFrom(GetFulfillmentRequest other)
Parameter
NameDescription
otherGetFulfillmentRequest
Returns
TypeDescription
GetFulfillmentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetFulfillmentRequest.Builder setName(String value)

Required. The name of the fulfillment. Format: projects/<Project ID>/agent/fulfillment.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetFulfillmentRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetFulfillmentRequest.Builder setNameBytes(ByteString value)

Required. The name of the fulfillment. Format: projects/<Project ID>/agent/fulfillment.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetFulfillmentRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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