Send feedback
Class DeployFlowRequest.Builder (0.14.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.14.1 keyboard_arrow_down
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.v3beta1.DeployFlowRequest
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeployFlowRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public DeployFlowRequest build ()
Returns
buildPartial()
public DeployFlowRequest buildPartial ()
Returns
clear()
public DeployFlowRequest . Builder clear ()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public DeployFlowRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public DeployFlowRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public DeployFlowRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public DeployFlowRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
Type Description 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
Type Description 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
Type Description 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
Type Description ByteString The bytes for flowVersion.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(DeployFlowRequest other)
public DeployFlowRequest . Builder mergeFrom ( DeployFlowRequest other )
Parameter
Returns
public DeployFlowRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DeployFlowRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeployFlowRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
Name Description value String
The environment to set.
Returns
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
Name Description value ByteString
The bytes for environment to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DeployFlowRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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
Name Description value String
The flowVersion to set.
Returns
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
Name Description value ByteString
The bytes for flowVersion to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeployFlowRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DeployFlowRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]