Class ImportFlowResponse.Builder (0.14.0)

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.v3.ImportFlowResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportFlowResponse build()
Returns
TypeDescription
ImportFlowResponse

buildPartial()

public ImportFlowResponse buildPartial()
Returns
TypeDescription
ImportFlowResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ImportFlowResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ImportFlowResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ImportFlowResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportFlowResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for flow.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportFlowResponse other)

public ImportFlowResponse.Builder mergeFrom(ImportFlowResponse other)
Parameter
NameDescription
otherImportFlowResponse
Returns
TypeDescription
ImportFlowResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ImportFlowResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The flow to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for flow to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportFlowResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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