Package com.google.cloud.dialogflow.v2
Interface CreateVersionRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateVersionRequest,CreateVersionRequest.Builder
@Generated
public interface CreateVersionRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. The agent to create a version for. Supported formats: - `projects/<Project ID>/agent` - `projects/<Project ID>/locations/<Location ID>/agent`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The agent to create a version for. Supported formats: - `projects/<Project ID>/agent` - `projects/<Project ID>/locations/<Location ID>/agent`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasVersion
boolean hasVersion()Required. The version to create.
.google.cloud.dialogflow.v2.Version version = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the version field is set.
-
getVersion
Version getVersion()Required. The version to create.
.google.cloud.dialogflow.v2.Version version = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The version.
-
getVersionOrBuilder
VersionOrBuilder getVersionOrBuilder()Required. The version to create.
.google.cloud.dialogflow.v2.Version version = 2 [(.google.api.field_behavior) = REQUIRED];
-