public static final class CreatePlaybookVersionRequest.Builder extends GeneratedMessageV3.Builder<CreatePlaybookVersionRequest.Builder> implements CreatePlaybookVersionRequestOrBuilder
The request message for
Playbooks.CreatePlaybookVersion.
Protobuf type google.cloud.dialogflow.cx.v3beta1.CreatePlaybookVersionRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreatePlaybookVersionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreatePlaybookVersionRequest build()
buildPartial()
public CreatePlaybookVersionRequest buildPartial()
clear()
public CreatePlaybookVersionRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreatePlaybookVersionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreatePlaybookVersionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreatePlaybookVersionRequest.Builder clearParent()
Required. The playbook to create a version for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearPlaybookVersion()
public CreatePlaybookVersionRequest.Builder clearPlaybookVersion()
Required. The playbook version to create.
.google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_version = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreatePlaybookVersionRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreatePlaybookVersionRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The playbook to create a version for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The playbook to create a version for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
getPlaybookVersion()
public PlaybookVersion getPlaybookVersion()
Required. The playbook version to create.
.google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_version = 2 [(.google.api.field_behavior) = REQUIRED];
getPlaybookVersionBuilder()
public PlaybookVersion.Builder getPlaybookVersionBuilder()
Required. The playbook version to create.
.google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_version = 2 [(.google.api.field_behavior) = REQUIRED];
getPlaybookVersionOrBuilder()
public PlaybookVersionOrBuilder getPlaybookVersionOrBuilder()
Required. The playbook version to create.
.google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_version = 2 [(.google.api.field_behavior) = REQUIRED];
hasPlaybookVersion()
public boolean hasPlaybookVersion()
Required. The playbook version to create.
.google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_version = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the playbookVersion field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreatePlaybookVersionRequest other)
public CreatePlaybookVersionRequest.Builder mergeFrom(CreatePlaybookVersionRequest other)
public CreatePlaybookVersionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreatePlaybookVersionRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergePlaybookVersion(PlaybookVersion value)
public CreatePlaybookVersionRequest.Builder mergePlaybookVersion(PlaybookVersion value)
Required. The playbook version to create.
.google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_version = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreatePlaybookVersionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreatePlaybookVersionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreatePlaybookVersionRequest.Builder setParent(String value)
Required. The playbook to create a version for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreatePlaybookVersionRequest.Builder setParentBytes(ByteString value)
Required. The playbook to create a version for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setPlaybookVersion(PlaybookVersion value)
public CreatePlaybookVersionRequest.Builder setPlaybookVersion(PlaybookVersion value)
Required. The playbook version to create.
.google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_version = 2 [(.google.api.field_behavior) = REQUIRED];
setPlaybookVersion(PlaybookVersion.Builder builderForValue)
public CreatePlaybookVersionRequest.Builder setPlaybookVersion(PlaybookVersion.Builder builderForValue)
Required. The playbook version to create.
.google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_version = 2 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreatePlaybookVersionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreatePlaybookVersionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides