Class DeployFlowRequest.Builder (0.14.0)

public static final class DeployFlowRequest.Builder extends GeneratedMessageV3.Builder<DeployFlowRequest.Builder> implements DeployFlowRequestOrBuilder

The request message for Environments.DeployFlow.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeployFlowRequest build()
Returns
TypeDescription
DeployFlowRequest

buildPartial()

public DeployFlowRequest buildPartial()
Returns
TypeDescription
DeployFlowRequest

clear()

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

clearEnvironment()

public DeployFlowRequest.Builder clearEnvironment()

Required. The environment to deploy the flow to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ environments/<Environment ID>.

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

Returns
TypeDescription
DeployFlowRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFlowVersion()

public DeployFlowRequest.Builder clearFlowVersion()

Required. The flow version to deploy. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ flows/<Flow ID>/versions/<Version ID>.

string flow_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
DeployFlowRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeployFlowRequest getDefaultInstanceForType()
Returns
TypeDescription
DeployFlowRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnvironment()

public String getEnvironment()

Required. The environment to deploy the flow to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ environments/<Environment ID>.

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

Returns
TypeDescription
String

The environment.

getEnvironmentBytes()

public ByteString getEnvironmentBytes()

Required. The environment to deploy the flow to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ environments/<Environment ID>.

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

Returns
TypeDescription
ByteString

The bytes for environment.

getFlowVersion()

public String getFlowVersion()

Required. The flow version to deploy. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ flows/<Flow ID>/versions/<Version ID>.

string flow_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The flowVersion.

getFlowVersionBytes()

public ByteString getFlowVersionBytes()

Required. The flow version to deploy. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ flows/<Flow ID>/versions/<Version ID>.

string flow_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for flowVersion.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeployFlowRequest other)

public DeployFlowRequest.Builder mergeFrom(DeployFlowRequest other)
Parameter
NameDescription
otherDeployFlowRequest
Returns
TypeDescription
DeployFlowRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnvironment(String value)

public DeployFlowRequest.Builder setEnvironment(String value)

Required. The environment to deploy the flow to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ environments/<Environment ID>.

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

Parameter
NameDescription
valueString

The environment to set.

Returns
TypeDescription
DeployFlowRequest.Builder

This builder for chaining.

setEnvironmentBytes(ByteString value)

public DeployFlowRequest.Builder setEnvironmentBytes(ByteString value)

Required. The environment to deploy the flow to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ environments/<Environment ID>.

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

Parameter
NameDescription
valueByteString

The bytes for environment to set.

Returns
TypeDescription
DeployFlowRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFlowVersion(String value)

public DeployFlowRequest.Builder setFlowVersion(String value)

Required. The flow version to deploy. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ flows/<Flow ID>/versions/<Version ID>.

string flow_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The flowVersion to set.

Returns
TypeDescription
DeployFlowRequest.Builder

This builder for chaining.

setFlowVersionBytes(ByteString value)

public DeployFlowRequest.Builder setFlowVersionBytes(ByteString value)

Required. The flow version to deploy. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ flows/<Flow ID>/versions/<Version ID>.

string flow_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for flowVersion to set.

Returns
TypeDescription
DeployFlowRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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