Class ExportPlaybookResponse.Builder (0.94.0)

public static final class ExportPlaybookResponse.Builder extends GeneratedMessage.Builder<ExportPlaybookResponse.Builder> implements ExportPlaybookResponseOrBuilder

The response message for Playbooks.ExportPlaybook.

Protobuf type google.cloud.dialogflow.cx.v3.ExportPlaybookResponse

Static Methods

getDescriptor()

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

Methods

build()

public ExportPlaybookResponse build()
Returns
Type Description
ExportPlaybookResponse

buildPartial()

public ExportPlaybookResponse buildPartial()
Returns
Type Description
ExportPlaybookResponse

clear()

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

clearPlaybook()

public ExportPlaybookResponse.Builder clearPlaybook()
Returns
Type Description
ExportPlaybookResponse.Builder

clearPlaybookContent()

public ExportPlaybookResponse.Builder clearPlaybookContent()

Uncompressed raw byte content for playbook.

bytes playbook_content = 2;

Returns
Type Description
ExportPlaybookResponse.Builder

This builder for chaining.

clearPlaybookUri()

public ExportPlaybookResponse.Builder clearPlaybookUri()

The URI to a file containing the exported playbook. This field is populated only if playbook_uri is specified in ExportPlaybookRequest.

string playbook_uri = 1;

Returns
Type Description
ExportPlaybookResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExportPlaybookResponse getDefaultInstanceForType()
Returns
Type Description
ExportPlaybookResponse

getDescriptorForType()

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

getPlaybookCase()

public ExportPlaybookResponse.PlaybookCase getPlaybookCase()
Returns
Type Description
ExportPlaybookResponse.PlaybookCase

getPlaybookContent()

public ByteString getPlaybookContent()

Uncompressed raw byte content for playbook.

bytes playbook_content = 2;

Returns
Type Description
ByteString

The playbookContent.

getPlaybookUri()

public String getPlaybookUri()

The URI to a file containing the exported playbook. This field is populated only if playbook_uri is specified in ExportPlaybookRequest.

string playbook_uri = 1;

Returns
Type Description
String

The playbookUri.

getPlaybookUriBytes()

public ByteString getPlaybookUriBytes()

The URI to a file containing the exported playbook. This field is populated only if playbook_uri is specified in ExportPlaybookRequest.

string playbook_uri = 1;

Returns
Type Description
ByteString

The bytes for playbookUri.

hasPlaybookContent()

public boolean hasPlaybookContent()

Uncompressed raw byte content for playbook.

bytes playbook_content = 2;

Returns
Type Description
boolean

Whether the playbookContent field is set.

hasPlaybookUri()

public boolean hasPlaybookUri()

The URI to a file containing the exported playbook. This field is populated only if playbook_uri is specified in ExportPlaybookRequest.

string playbook_uri = 1;

Returns
Type Description
boolean

Whether the playbookUri field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportPlaybookResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ExportPlaybookResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportPlaybookResponse.Builder
Overrides

setPlaybookContent(ByteString value)

public ExportPlaybookResponse.Builder setPlaybookContent(ByteString value)

Uncompressed raw byte content for playbook.

bytes playbook_content = 2;

Parameter
Name Description
value ByteString

The playbookContent to set.

Returns
Type Description
ExportPlaybookResponse.Builder

This builder for chaining.

setPlaybookUri(String value)

public ExportPlaybookResponse.Builder setPlaybookUri(String value)

The URI to a file containing the exported playbook. This field is populated only if playbook_uri is specified in ExportPlaybookRequest.

string playbook_uri = 1;

Parameter
Name Description
value String

The playbookUri to set.

Returns
Type Description
ExportPlaybookResponse.Builder

This builder for chaining.

setPlaybookUriBytes(ByteString value)

public ExportPlaybookResponse.Builder setPlaybookUriBytes(ByteString value)

The URI to a file containing the exported playbook. This field is populated only if playbook_uri is specified in ExportPlaybookRequest.

string playbook_uri = 1;

Parameter
Name Description
value ByteString

The bytes for playbookUri to set.

Returns
Type Description
ExportPlaybookResponse.Builder

This builder for chaining.