Class Deployment (0.48.0)

public final class Deployment extends GeneratedMessageV3 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.v3.Deployment

Implements

DeploymentOrBuilder

Static Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

FLOW_VERSION_FIELD_NUMBER

public static final int FLOW_VERSION_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

RESULT_FIELD_NUMBER

public static final int RESULT_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Deployment getDefaultInstance()
Returns
Type Description
Deployment

getDescriptor()

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

newBuilder()

public static Deployment.Builder newBuilder()
Returns
Type Description
Deployment.Builder

newBuilder(Deployment prototype)

public static Deployment.Builder newBuilder(Deployment prototype)
Parameter
Name Description
prototype Deployment
Returns
Type Description
Deployment.Builder

parseDelimitedFrom(InputStream input)

public static Deployment parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Deployment parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Deployment parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Deployment parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Deployment parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Deployment parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Deployment> parser()
Returns
Type Description
Parser<Deployment>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Deployment getDefaultInstanceForType()
Returns
Type Description
Deployment

getEndTime()

public Timestamp getEndTime()

End time of this deployment.

.google.protobuf.Timestamp end_time = 6;

Returns
Type Description
Timestamp

The endTime.

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.

getParserForType()

public Parser<Deployment> getParserForType()
Returns
Type Description
Parser<Deployment>
Overrides

getResult()

public Deployment.Result getResult()

Result of the deployment.

.google.cloud.dialogflow.cx.v3.Deployment.Result result = 4;

Returns
Type Description
Deployment.Result

The result.

getResultOrBuilder()

public Deployment.ResultOrBuilder getResultOrBuilder()

Result of the deployment.

.google.cloud.dialogflow.cx.v3.Deployment.Result result = 4;

Returns
Type Description
Deployment.ResultOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Start time of this deployment.

.google.protobuf.Timestamp start_time = 5;

Returns
Type Description
Timestamp

The startTime.

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.v3.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.v3.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.v3.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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Deployment.Builder newBuilderForType()
Returns
Type Description
Deployment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Deployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Deployment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Deployment.Builder toBuilder()
Returns
Type Description
Deployment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException