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
Static Fields
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value
FLOW_VERSION_FIELD_NUMBER
public static final int FLOW_VERSION_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
RESULT_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Deployment getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Deployment.Builder newBuilder()
Returns
newBuilder(Deployment prototype)
public static Deployment.Builder newBuilder(Deployment prototype)
Parameter
Returns
public static Deployment parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Deployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Deployment parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Deployment parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Deployment parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Deployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Deployment parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Deployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Deployment parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Deployment> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Deployment getDefaultInstanceForType()
Returns
getEndTime()
public Timestamp getEndTime()
End time of this deployment.
.google.protobuf.Timestamp end_time = 6;
Returns
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
End time of this deployment.
.google.protobuf.Timestamp end_time = 6;
Returns
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
getParserForType()
public Parser<Deployment> getParserForType()
Returns
Overrides
getResult()
public Deployment.Result getResult()
Result of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.Result result = 4;
Returns
getResultOrBuilder()
public Deployment.ResultOrBuilder getResultOrBuilder()
Result of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.Result result = 4;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStartTime()
public Timestamp getStartTime()
Start time of this deployment.
.google.protobuf.Timestamp start_time = 5;
Returns
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Start time of this deployment.
.google.protobuf.Timestamp start_time = 5;
Returns
getState()
public Deployment.State getState()
The current state of the deployment.
.google.cloud.dialogflow.cx.v3beta1.Deployment.State state = 3;
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Deployment.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Deployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Deployment.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions