Class DeployFlowResponse.Builder (0.14.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeployFlowResponse build()
Returns
TypeDescription
DeployFlowResponse

buildPartial()

public DeployFlowResponse buildPartial()
Returns
TypeDescription
DeployFlowResponse

clear()

public DeployFlowResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DeployFlowResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeployFlowResponse getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for deployment.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnvironment()

public Environment getEnvironment()

The updated environment where the flow is deployed.

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

Returns
TypeDescription
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
TypeDescription
Environment.Builder

getEnvironmentOrBuilder()

public EnvironmentOrBuilder getEnvironmentOrBuilder()

The updated environment where the flow is deployed.

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

Returns
TypeDescription
EnvironmentOrBuilder

hasEnvironment()

public boolean hasEnvironment()

The updated environment where the flow is deployed.

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

Returns
TypeDescription
boolean

Whether the environment field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueEnvironment
Returns
TypeDescription
DeployFlowResponse.Builder

mergeFrom(DeployFlowResponse other)

public DeployFlowResponse.Builder mergeFrom(DeployFlowResponse other)
Parameter
NameDescription
otherDeployFlowResponse
Returns
TypeDescription
DeployFlowResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeployFlowResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The deployment to set.

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

The bytes for deployment to set.

Returns
TypeDescription
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
NameDescription
valueEnvironment
Returns
TypeDescription
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
NameDescription
builderForValueEnvironment.Builder
Returns
TypeDescription
DeployFlowResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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