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.v3beta1.Deployment
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Deployment.Builder newBuilder()
newBuilder(Deployment prototype)
public static Deployment.Builder newBuilder(Deployment prototype)
public static Deployment parseDelimitedFrom(InputStream input)
public static Deployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Deployment parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Deployment parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(CodedInputStream input)
public static Deployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(InputStream input)
public static Deployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Deployment parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Deployment> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Deployment getDefaultInstanceForType()
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;
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()
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()
Overrides
getResult()
public Deployment.Result getResult()
Result of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.Result result = 4;
getResultOrBuilder()
public Deployment.ResultOrBuilder getResultOrBuilder()
Result of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.Result result = 4;
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;
getState()
public Deployment.State getState()
The current state of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.State state = 3;
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Deployment.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Deployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Deployment.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides