- 0.66.0 (latest)
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 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 Version.Builder extends GeneratedMessageV3.Builder<Version.Builder> implements VersionOrBuilder
Represents a version of a flow.
Protobuf type google.cloud.dialogflow.cx.v3.Version
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Version.BuilderImplements
VersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Version.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Version.Builder |
build()
public Version build()
Returns | |
---|---|
Type | Description |
Version |
buildPartial()
public Version buildPartial()
Returns | |
---|---|
Type | Description |
Version |
clear()
public Version.Builder clear()
Returns | |
---|---|
Type | Description |
Version.Builder |
clearCreateTime()
public Version.Builder clearCreateTime()
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Version.Builder |
clearDescription()
public Version.Builder clearDescription()
The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
clearDisplayName()
public Version.Builder clearDisplayName()
Required. The human-readable name of the version. Limit of 64 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Version.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Version.Builder |
clearName()
public Version.Builder clearName()
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>. Version ID is a self-increasing number generated by Dialogflow upon version creation.
string name = 1;
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
clearNluSettings()
public Version.Builder clearNluSettings()
Output only. The NLU settings of the flow at version creation.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Version.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Version.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Version.Builder |
clearState()
public Version.Builder clearState()
Output only. The state of this version. This field is read-only and cannot be set by create and update methods.
.google.cloud.dialogflow.cx.v3.Version.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
clone()
public Version.Builder clone()
Returns | |
---|---|
Type | Description |
Version.Builder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Version getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Version |
getDescription()
public String getDescription()
The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Required. The human-readable name of the version. Limit of 64 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. The human-readable name of the version. Limit of 64 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getName()
public String getName()
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>. Version ID is a self-increasing number generated by Dialogflow upon version creation.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>. Version ID is a self-increasing number generated by Dialogflow upon version creation.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getNluSettings()
public NluSettings getNluSettings()
Output only. The NLU settings of the flow at version creation.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
NluSettings |
The nluSettings. |
getNluSettingsBuilder()
public NluSettings.Builder getNluSettingsBuilder()
Output only. The NLU settings of the flow at version creation.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
NluSettings.Builder |
getNluSettingsOrBuilder()
public NluSettingsOrBuilder getNluSettingsOrBuilder()
Output only. The NLU settings of the flow at version creation.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
NluSettingsOrBuilder |
getState()
public Version.State getState()
Output only. The state of this version. This field is read-only and cannot be set by create and update methods.
.google.cloud.dialogflow.cx.v3.Version.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Version.State |
The state. |
getStateValue()
public int getStateValue()
Output only. The state of this version. This field is read-only and cannot be set by create and update methods.
.google.cloud.dialogflow.cx.v3.Version.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasNluSettings()
public boolean hasNluSettings()
Output only. The NLU settings of the flow at version creation.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the nluSettings field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Version.Builder mergeCreateTime(Timestamp value)
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Version.Builder |
mergeFrom(Version other)
public Version.Builder mergeFrom(Version other)
Parameter | |
---|---|
Name | Description |
other |
Version |
Returns | |
---|---|
Type | Description |
Version.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Version.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Version.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Version.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Version.Builder |
mergeNluSettings(NluSettings value)
public Version.Builder mergeNluSettings(NluSettings value)
Output only. The NLU settings of the flow at version creation.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
NluSettings |
Returns | |
---|---|
Type | Description |
Version.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Version.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Version.Builder |
setCreateTime(Timestamp value)
public Version.Builder setCreateTime(Timestamp value)
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Version.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Version.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Version.Builder |
setDescription(String value)
public Version.Builder setDescription(String value)
The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Version.Builder setDescriptionBytes(ByteString value)
The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
setDisplayName(String value)
public Version.Builder setDisplayName(String value)
Required. The human-readable name of the version. Limit of 64 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Version.Builder setDisplayNameBytes(ByteString value)
Required. The human-readable name of the version. Limit of 64 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Version.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Version.Builder |
setName(String value)
public Version.Builder setName(String value)
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>. Version ID is a self-increasing number generated by Dialogflow upon version creation.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Version.Builder setNameBytes(ByteString value)
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>. Version ID is a self-increasing number generated by Dialogflow upon version creation.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
setNluSettings(NluSettings value)
public Version.Builder setNluSettings(NluSettings value)
Output only. The NLU settings of the flow at version creation.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
NluSettings |
Returns | |
---|---|
Type | Description |
Version.Builder |
setNluSettings(NluSettings.Builder builderForValue)
public Version.Builder setNluSettings(NluSettings.Builder builderForValue)
Output only. The NLU settings of the flow at version creation.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
NluSettings.Builder |
Returns | |
---|---|
Type | Description |
Version.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Version.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Version.Builder |
setState(Version.State value)
public Version.Builder setState(Version.State value)
Output only. The state of this version. This field is read-only and cannot be set by create and update methods.
.google.cloud.dialogflow.cx.v3.Version.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Version.State The state to set. |
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
setStateValue(int value)
public Version.Builder setStateValue(int value)
Output only. The state of this version. This field is read-only and cannot be set by create and update methods.
.google.cloud.dialogflow.cx.v3.Version.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Version.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Version.Builder |