Class CreatePlaybookVersionRequest.Builder (0.55.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreatePlaybookVersionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreatePlaybookVersionRequest.Builder
Overrides

build()

public CreatePlaybookVersionRequest build()
Returns
Type Description
CreatePlaybookVersionRequest

buildPartial()

public CreatePlaybookVersionRequest buildPartial()
Returns
Type Description
CreatePlaybookVersionRequest

clear()

public CreatePlaybookVersionRequest.Builder clear()
Returns
Type Description
CreatePlaybookVersionRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreatePlaybookVersionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreatePlaybookVersionRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreatePlaybookVersionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreatePlaybookVersionRequest.Builder
Overrides

clearParent()

public CreatePlaybookVersionRequest.Builder clearParent()

Required. The playbook to create a version for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreatePlaybookVersionRequest.Builder

This builder for chaining.

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];

Returns
Type Description
CreatePlaybookVersionRequest.Builder

clone()

public CreatePlaybookVersionRequest.Builder clone()
Returns
Type Description
CreatePlaybookVersionRequest.Builder
Overrides

getDefaultInstanceForType()

public CreatePlaybookVersionRequest getDefaultInstanceForType()
Returns
Type Description
CreatePlaybookVersionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The playbook to create a version for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>.

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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>.

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];

Returns
Type Description
PlaybookVersion

The playbookVersion.

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];

Returns
Type Description
PlaybookVersion.Builder

getPlaybookVersionOrBuilder()

public PlaybookVersionOrBuilder getPlaybookVersionOrBuilder()

Required. The playbook version to create.

.google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PlaybookVersionOrBuilder

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreatePlaybookVersionRequest other)

public CreatePlaybookVersionRequest.Builder mergeFrom(CreatePlaybookVersionRequest other)
Parameter
Name Description
other CreatePlaybookVersionRequest
Returns
Type Description
CreatePlaybookVersionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreatePlaybookVersionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreatePlaybookVersionRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreatePlaybookVersionRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreatePlaybookVersionRequest.Builder
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];

Parameter
Name Description
value PlaybookVersion
Returns
Type Description
CreatePlaybookVersionRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreatePlaybookVersionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreatePlaybookVersionRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreatePlaybookVersionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreatePlaybookVersionRequest.Builder
Overrides

setParent(String value)

public CreatePlaybookVersionRequest.Builder setParent(String value)

Required. The playbook to create a version for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreatePlaybookVersionRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreatePlaybookVersionRequest.Builder setParentBytes(ByteString value)

Required. The playbook to create a version for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreatePlaybookVersionRequest.Builder

This builder for chaining.

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];

Parameter
Name Description
value PlaybookVersion
Returns
Type Description
CreatePlaybookVersionRequest.Builder

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];

Parameter
Name Description
builderForValue PlaybookVersion.Builder
Returns
Type Description
CreatePlaybookVersionRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreatePlaybookVersionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreatePlaybookVersionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreatePlaybookVersionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreatePlaybookVersionRequest.Builder
Overrides