Class Deployment (0.14.1)

public final class Deployment extends GeneratedMessageV3 implements DeploymentOrBuilder

Represents an 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

Implements

DeploymentOrBuilder

Static Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

FLOW_VERSION_FIELD_NUMBER

public static final int FLOW_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

RESULT_FIELD_NUMBER

public static final int RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Deployment getDefaultInstance()
Returns
TypeDescription
Deployment

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Deployment.Builder newBuilder()
Returns
TypeDescription
Deployment.Builder

newBuilder(Deployment prototype)

public static Deployment.Builder newBuilder(Deployment prototype)
Parameter
NameDescription
prototypeDeployment
Returns
TypeDescription
Deployment.Builder

parseDelimitedFrom(InputStream input)

public static Deployment parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Deployment parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Deployment parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Deployment parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Deployment parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Deployment parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Deployment> parser()
Returns
TypeDescription
Parser<Deployment>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Deployment getDefaultInstanceForType()
Returns
TypeDescription
Deployment

getEndTime()

public Timestamp getEndTime()

End time of this deployment.

.google.protobuf.Timestamp end_time = 6;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

End time of this deployment.

.google.protobuf.Timestamp end_time = 6;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<Deployment> getParserForType()
Returns
TypeDescription
Parser<Deployment>
Overrides

getResult()

public Deployment.Result getResult()

Result of the deployment.

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

Returns
TypeDescription
Deployment.Result

The result.

getResultOrBuilder()

public Deployment.ResultOrBuilder getResultOrBuilder()

Result of the deployment.

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

Returns
TypeDescription
Deployment.ResultOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartTime()

public Timestamp getStartTime()

Start time of this deployment.

.google.protobuf.Timestamp start_time = 5;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Start time of this deployment.

.google.protobuf.Timestamp start_time = 5;

Returns
TypeDescription
TimestampOrBuilder

getState()

public Deployment.State getState()

The current state of the deployment.

.google.cloud.dialogflow.cx.v3beta1.Deployment.State state = 3;

Returns
TypeDescription
Deployment.State

The state.

getStateValue()

public int getStateValue()

The current state of the deployment.

.google.cloud.dialogflow.cx.v3beta1.Deployment.State state = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasEndTime()

public boolean hasEndTime()

End time of this deployment.

.google.protobuf.Timestamp end_time = 6;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the result field is set.

hasStartTime()

public boolean hasStartTime()

Start time of this deployment.

.google.protobuf.Timestamp start_time = 5;

Returns
TypeDescription
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Deployment.Builder newBuilderForType()
Returns
TypeDescription
Deployment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Deployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Deployment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Deployment.Builder toBuilder()
Returns
TypeDescription
Deployment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException