public static final class CreateEnvironmentRequest.Builder extends GeneratedMessageV3.Builder<CreateEnvironmentRequest.Builder> implements CreateEnvironmentRequestOrBuilder
The request message for [Environments.CreateEnvironment][google.cloud.dialogflow.v2.Environments.CreateEnvironment].Protobuf type
google.cloud.dialogflow.v2.CreateEnvironmentRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<CreateEnvironmentRequest.Builder>
public CreateEnvironmentRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<CreateEnvironmentRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<CreateEnvironmentRequest.Builder>
public CreateEnvironmentRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public CreateEnvironmentRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public CreateEnvironmentRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public CreateEnvironmentRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<CreateEnvironmentRequest.Builder>
public CreateEnvironmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<CreateEnvironmentRequest.Builder>
public CreateEnvironmentRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<CreateEnvironmentRequest.Builder>
public CreateEnvironmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<CreateEnvironmentRequest.Builder>
public CreateEnvironmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<CreateEnvironmentRequest.Builder>
public CreateEnvironmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<CreateEnvironmentRequest.Builder>
public CreateEnvironmentRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<CreateEnvironmentRequest.Builder>
public CreateEnvironmentRequest.Builder mergeFrom(CreateEnvironmentRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<CreateEnvironmentRequest.Builder>
public CreateEnvironmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<CreateEnvironmentRequest.Builder>
IOException
public String getParent()
Required. The agent to create an environment 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) = { ... }
getParent
in interface CreateEnvironmentRequestOrBuilder
public ByteString getParentBytes()
Required. The agent to create an environment 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) = { ... }
getParentBytes
in interface CreateEnvironmentRequestOrBuilder
public CreateEnvironmentRequest.Builder setParent(String value)
Required. The agent to create an environment 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) = { ... }
value
- The parent to set.public CreateEnvironmentRequest.Builder clearParent()
Required. The agent to create an environment 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) = { ... }
public CreateEnvironmentRequest.Builder setParentBytes(ByteString value)
Required. The agent to create an environment 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) = { ... }
value
- The bytes for parent to set.public boolean hasEnvironment()
Required. The environment to create.
.google.cloud.dialogflow.v2.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED];
hasEnvironment
in interface CreateEnvironmentRequestOrBuilder
public Environment getEnvironment()
Required. The environment to create.
.google.cloud.dialogflow.v2.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED];
getEnvironment
in interface CreateEnvironmentRequestOrBuilder
public CreateEnvironmentRequest.Builder setEnvironment(Environment value)
Required. The environment to create.
.google.cloud.dialogflow.v2.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateEnvironmentRequest.Builder setEnvironment(Environment.Builder builderForValue)
Required. The environment to create.
.google.cloud.dialogflow.v2.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateEnvironmentRequest.Builder mergeEnvironment(Environment value)
Required. The environment to create.
.google.cloud.dialogflow.v2.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateEnvironmentRequest.Builder clearEnvironment()
Required. The environment to create.
.google.cloud.dialogflow.v2.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED];
public Environment.Builder getEnvironmentBuilder()
Required. The environment to create.
.google.cloud.dialogflow.v2.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED];
public EnvironmentOrBuilder getEnvironmentOrBuilder()
Required. The environment to create.
.google.cloud.dialogflow.v2.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED];
getEnvironmentOrBuilder
in interface CreateEnvironmentRequestOrBuilder
public String getEnvironmentId()
Required. The unique id of the new environment.
string environment_id = 3 [(.google.api.field_behavior) = REQUIRED];
getEnvironmentId
in interface CreateEnvironmentRequestOrBuilder
public ByteString getEnvironmentIdBytes()
Required. The unique id of the new environment.
string environment_id = 3 [(.google.api.field_behavior) = REQUIRED];
getEnvironmentIdBytes
in interface CreateEnvironmentRequestOrBuilder
public CreateEnvironmentRequest.Builder setEnvironmentId(String value)
Required. The unique id of the new environment.
string environment_id = 3 [(.google.api.field_behavior) = REQUIRED];
value
- The environmentId to set.public CreateEnvironmentRequest.Builder clearEnvironmentId()
Required. The unique id of the new environment.
string environment_id = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateEnvironmentRequest.Builder setEnvironmentIdBytes(ByteString value)
Required. The unique id of the new environment.
string environment_id = 3 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for environmentId to set.public final CreateEnvironmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<CreateEnvironmentRequest.Builder>
public final CreateEnvironmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<CreateEnvironmentRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.