- 0.64.0 (latest)
- 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.v3beta1.Version
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Version.BuilderImplements
VersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Version.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Version.Builder |
build()
public Version build()
Type | Description |
Version |
buildPartial()
public Version buildPartial()
Type | Description |
Version |
clear()
public Version.Builder clear()
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];
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;
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];
Type | Description |
Version.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Version.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Version.Builder |
clearName()
public Version.Builder clearName()
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>. Version ID is a self-increasing number generated by Dialogflow upon version creation.
string name = 1;
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.v3beta1.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Version.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Version.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
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.v3beta1.Version.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Version.Builder | This builder for chaining. |
clone()
public Version.Builder clone()
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];
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];
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];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Version getDefaultInstanceForType()
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;
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;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
Type | Description |
ByteString | The bytes for displayName. |
getName()
public String getName()
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>. Version ID is a self-increasing number generated by Dialogflow upon version creation.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>. Version ID is a self-increasing number generated by Dialogflow upon version creation.
string name = 1;
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.v3beta1.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v3beta1.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
NluSettings.Builder |
getNluSettingsOrBuilder()
public NluSettingsOrBuilder getNluSettingsOrBuilder()
Output only. The NLU settings of the flow at version creation.
.google.cloud.dialogflow.cx.v3beta1.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v3beta1.Version.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v3beta1.Version.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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.v3beta1.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the nluSettings field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
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];
Name | Description |
value | Timestamp |
Type | Description |
Version.Builder |
mergeFrom(Version other)
public Version.Builder mergeFrom(Version other)
Name | Description |
other | Version |
Type | Description |
Version.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Version.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Version.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Version.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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.v3beta1.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | NluSettings |
Type | Description |
Version.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Version.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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];
Name | Description |
value | Timestamp |
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];
Name | Description |
builderForValue | Builder |
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;
Name | Description |
value | String The description to set. |
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;
Name | Description |
value | ByteString The bytes for description to set. |
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];
Name | Description |
value | String The displayName to set. |
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];
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
Version.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Version.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Version.Builder |
setName(String value)
public Version.Builder setName(String value)
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>. Version ID is a self-increasing number generated by Dialogflow upon version creation.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Version.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Version.Builder setNameBytes(ByteString value)
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>. Version ID is a self-increasing number generated by Dialogflow upon version creation.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
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.v3beta1.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | NluSettings |
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.v3beta1.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | NluSettings.Builder |
Type | Description |
Version.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Version.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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.v3beta1.Version.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Version.State The state to set. |
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.v3beta1.Version.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Version.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Version.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Version.Builder |