- 0.58.0 (latest)
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class Deployment.Builder extends GeneratedMessageV3.Builder<Deployment.Builder> implements DeploymentOrBuilder
Represents a deployment in an environment. A deployment happens when a flow version configured to be active in the environment. You can configure running pre-deployment steps, e.g. running validation test cases, experiment auto-rollout, etc.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Deployment
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Deployment.BuilderImplements
DeploymentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Deployment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
build()
public Deployment build()
Returns | |
---|---|
Type | Description |
Deployment |
buildPartial()
public Deployment buildPartial()
Returns | |
---|---|
Type | Description |
Deployment |
clear()
public Deployment.Builder clear()
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearEndTime()
public Deployment.Builder clearEndTime()
End time of this deployment.
.google.protobuf.Timestamp end_time = 6;
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearField(Descriptors.FieldDescriptor field)
public Deployment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearFlowVersion()
public Deployment.Builder clearFlowVersion()
The name of the flow version for this deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Verion ID>.
string flow_version = 2 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
clearName()
public Deployment.Builder clearName()
The name of the deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/deployments/<Deployment ID>.
string name = 1;
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Deployment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearResult()
public Deployment.Builder clearResult()
Result of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.Result result = 4;
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearStartTime()
public Deployment.Builder clearStartTime()
Start time of this deployment.
.google.protobuf.Timestamp start_time = 5;
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearState()
public Deployment.Builder clearState()
The current state of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.State state = 3;
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
clone()
public Deployment.Builder clone()
Returns | |
---|---|
Type | Description |
Deployment.Builder |
getDefaultInstanceForType()
public Deployment getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Deployment |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
End time of this deployment.
.google.protobuf.Timestamp end_time = 6;
Returns | |
---|---|
Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
End time of this deployment.
.google.protobuf.Timestamp end_time = 6;
Returns | |
---|---|
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
End time of this deployment.
.google.protobuf.Timestamp end_time = 6;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getFlowVersion()
public String getFlowVersion()
The name of the flow version for this deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Verion ID>.
string flow_version = 2 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The flowVersion. |
getFlowVersionBytes()
public ByteString getFlowVersionBytes()
The name of the flow version for this deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Verion ID>.
string flow_version = 2 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for flowVersion. |
getName()
public String getName()
The name of the deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/deployments/<Deployment ID>.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/deployments/<Deployment ID>.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getResult()
public Deployment.Result getResult()
Result of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.Result result = 4;
Returns | |
---|---|
Type | Description |
Deployment.Result |
The result. |
getResultBuilder()
public Deployment.Result.Builder getResultBuilder()
Result of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.Result result = 4;
Returns | |
---|---|
Type | Description |
Deployment.Result.Builder |
getResultOrBuilder()
public Deployment.ResultOrBuilder getResultOrBuilder()
Result of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.Result result = 4;
Returns | |
---|---|
Type | Description |
Deployment.ResultOrBuilder |
getStartTime()
public Timestamp getStartTime()
Start time of this deployment.
.google.protobuf.Timestamp start_time = 5;
Returns | |
---|---|
Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Start time of this deployment.
.google.protobuf.Timestamp start_time = 5;
Returns | |
---|---|
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Start time of this deployment.
.google.protobuf.Timestamp start_time = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getState()
public Deployment.State getState()
The current state of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.State state = 3;
Returns | |
---|---|
Type | Description |
Deployment.State |
The state. |
getStateValue()
public int getStateValue()
The current state of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.State state = 3;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
hasEndTime()
public boolean hasEndTime()
End time of this deployment.
.google.protobuf.Timestamp end_time = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the endTime field is set. |
hasResult()
public boolean hasResult()
Result of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.Result result = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the result field is set. |
hasStartTime()
public boolean hasStartTime()
Start time of this deployment.
.google.protobuf.Timestamp start_time = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeEndTime(Timestamp value)
public Deployment.Builder mergeEndTime(Timestamp value)
End time of this deployment.
.google.protobuf.Timestamp end_time = 6;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
mergeFrom(Deployment other)
public Deployment.Builder mergeFrom(Deployment other)
Parameter | |
---|---|
Name | Description |
other |
Deployment |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Deployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Deployment.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
mergeResult(Deployment.Result value)
public Deployment.Builder mergeResult(Deployment.Result value)
Result of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.Result result = 4;
Parameter | |
---|---|
Name | Description |
value |
Deployment.Result |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
mergeStartTime(Timestamp value)
public Deployment.Builder mergeStartTime(Timestamp value)
Start time of this deployment.
.google.protobuf.Timestamp start_time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Deployment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setEndTime(Timestamp value)
public Deployment.Builder setEndTime(Timestamp value)
End time of this deployment.
.google.protobuf.Timestamp end_time = 6;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setEndTime(Timestamp.Builder builderForValue)
public Deployment.Builder setEndTime(Timestamp.Builder builderForValue)
End time of this deployment.
.google.protobuf.Timestamp end_time = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Deployment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setFlowVersion(String value)
public Deployment.Builder setFlowVersion(String value)
The name of the flow version for this deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Verion ID>.
string flow_version = 2 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The flowVersion to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setFlowVersionBytes(ByteString value)
public Deployment.Builder setFlowVersionBytes(ByteString value)
The name of the flow version for this deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Verion ID>.
string flow_version = 2 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for flowVersion to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setName(String value)
public Deployment.Builder setName(String value)
The name of the deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/deployments/<Deployment ID>.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Deployment.Builder setNameBytes(ByteString value)
The name of the deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/deployments/<Deployment ID>.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Deployment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setResult(Deployment.Result value)
public Deployment.Builder setResult(Deployment.Result value)
Result of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.Result result = 4;
Parameter | |
---|---|
Name | Description |
value |
Deployment.Result |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setResult(Deployment.Result.Builder builderForValue)
public Deployment.Builder setResult(Deployment.Result.Builder builderForValue)
Result of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.Result result = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
Deployment.Result.Builder |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setStartTime(Timestamp value)
public Deployment.Builder setStartTime(Timestamp value)
Start time of this deployment.
.google.protobuf.Timestamp start_time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setStartTime(Timestamp.Builder builderForValue)
public Deployment.Builder setStartTime(Timestamp.Builder builderForValue)
Start time of this deployment.
.google.protobuf.Timestamp start_time = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setState(Deployment.State value)
public Deployment.Builder setState(Deployment.State value)
The current state of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.State state = 3;
Parameter | |
---|---|
Name | Description |
value |
Deployment.State The state to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setStateValue(int value)
public Deployment.Builder setStateValue(int value)
The current state of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.State state = 3;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Deployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Deployment.Builder |