Class ImportFlowResponse.Builder (0.14.7)

public static final class ImportFlowResponse.Builder extends GeneratedMessageV3.Builder<ImportFlowResponse.Builder> implements ImportFlowResponseOrBuilder

The response message for Flows.ImportFlow.

Protobuf type google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportFlowResponse build()
Returns
Type Description
ImportFlowResponse

buildPartial()

public ImportFlowResponse buildPartial()
Returns
Type Description
ImportFlowResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFlow()

public ImportFlowResponse.Builder clearFlow()

The unique identifier of the new flow. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

string flow = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ImportFlowResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ImportFlowResponse getDefaultInstanceForType()
Returns
Type Description
ImportFlowResponse

getDescriptorForType()

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

getFlow()

public String getFlow()

The unique identifier of the new flow. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

string flow = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The flow.

getFlowBytes()

public ByteString getFlowBytes()

The unique identifier of the new flow. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

string flow = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for flow.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportFlowResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFlow(String value)

public ImportFlowResponse.Builder setFlow(String value)

The unique identifier of the new flow. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

string flow = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The flow to set.

Returns
Type Description
ImportFlowResponse.Builder

This builder for chaining.

setFlowBytes(ByteString value)

public ImportFlowResponse.Builder setFlowBytes(ByteString value)

The unique identifier of the new flow. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

string flow = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for flow to set.

Returns
Type Description
ImportFlowResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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