Class DeployFlowResponse.Builder (0.27.0)

public static final class DeployFlowResponse.Builder extends GeneratedMessageV3.Builder<DeployFlowResponse.Builder> implements DeployFlowResponseOrBuilder

The response message for Environments.DeployFlow.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeployFlowResponse build()
Returns
Type Description
DeployFlowResponse

buildPartial()

public DeployFlowResponse buildPartial()
Returns
Type Description
DeployFlowResponse

clear()

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

clearDeployment()

public DeployFlowResponse.Builder clearDeployment()

The name of the flow version Deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ environments/<Environment ID>/deployments/<Deployment ID>.

string deployment = 2;

Returns
Type Description
DeployFlowResponse.Builder

This builder for chaining.

clearEnvironment()

public DeployFlowResponse.Builder clearEnvironment()

The updated environment where the flow is deployed.

.google.cloud.dialogflow.cx.v3.Environment environment = 1;

Returns
Type Description
DeployFlowResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeployFlowResponse getDefaultInstanceForType()
Returns
Type Description
DeployFlowResponse

getDeployment()

public String getDeployment()

The name of the flow version Deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ environments/<Environment ID>/deployments/<Deployment ID>.

string deployment = 2;

Returns
Type Description
String

The deployment.

getDeploymentBytes()

public ByteString getDeploymentBytes()

The name of the flow version Deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ environments/<Environment ID>/deployments/<Deployment ID>.

string deployment = 2;

Returns
Type Description
ByteString

The bytes for deployment.

getDescriptorForType()

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

getEnvironment()

public Environment getEnvironment()

The updated environment where the flow is deployed.

.google.cloud.dialogflow.cx.v3.Environment environment = 1;

Returns
Type Description
Environment

The environment.

getEnvironmentBuilder()

public Environment.Builder getEnvironmentBuilder()

The updated environment where the flow is deployed.

.google.cloud.dialogflow.cx.v3.Environment environment = 1;

Returns
Type Description
Environment.Builder

getEnvironmentOrBuilder()

public EnvironmentOrBuilder getEnvironmentOrBuilder()

The updated environment where the flow is deployed.

.google.cloud.dialogflow.cx.v3.Environment environment = 1;

Returns
Type Description
EnvironmentOrBuilder

hasEnvironment()

public boolean hasEnvironment()

The updated environment where the flow is deployed.

.google.cloud.dialogflow.cx.v3.Environment environment = 1;

Returns
Type Description
boolean

Whether the environment field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEnvironment(Environment value)

public DeployFlowResponse.Builder mergeEnvironment(Environment value)

The updated environment where the flow is deployed.

.google.cloud.dialogflow.cx.v3.Environment environment = 1;

Parameter
Name Description
value Environment
Returns
Type Description
DeployFlowResponse.Builder

mergeFrom(DeployFlowResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDeployment(String value)

public DeployFlowResponse.Builder setDeployment(String value)

The name of the flow version Deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ environments/<Environment ID>/deployments/<Deployment ID>.

string deployment = 2;

Parameter
Name Description
value String

The deployment to set.

Returns
Type Description
DeployFlowResponse.Builder

This builder for chaining.

setDeploymentBytes(ByteString value)

public DeployFlowResponse.Builder setDeploymentBytes(ByteString value)

The name of the flow version Deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ environments/<Environment ID>/deployments/<Deployment ID>.

string deployment = 2;

Parameter
Name Description
value ByteString

The bytes for deployment to set.

Returns
Type Description
DeployFlowResponse.Builder

This builder for chaining.

setEnvironment(Environment value)

public DeployFlowResponse.Builder setEnvironment(Environment value)

The updated environment where the flow is deployed.

.google.cloud.dialogflow.cx.v3.Environment environment = 1;

Parameter
Name Description
value Environment
Returns
Type Description
DeployFlowResponse.Builder

setEnvironment(Environment.Builder builderForValue)

public DeployFlowResponse.Builder setEnvironment(Environment.Builder builderForValue)

The updated environment where the flow is deployed.

.google.cloud.dialogflow.cx.v3.Environment environment = 1;

Parameter
Name Description
builderForValue Environment.Builder
Returns
Type Description
DeployFlowResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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