Class CreateVersionOperationMetadata.Builder (0.94.0)

public static final class CreateVersionOperationMetadata.Builder extends GeneratedMessage.Builder<CreateVersionOperationMetadata.Builder> implements CreateVersionOperationMetadataOrBuilder

Metadata associated with the long running operation for Versions.CreateVersion.

Protobuf type google.cloud.dialogflow.cx.v3beta1.CreateVersionOperationMetadata

Static Methods

getDescriptor()

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

Methods

build()

public CreateVersionOperationMetadata build()
Returns
Type Description
CreateVersionOperationMetadata

buildPartial()

public CreateVersionOperationMetadata buildPartial()
Returns
Type Description
CreateVersionOperationMetadata

clear()

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

clearVersion()

public CreateVersionOperationMetadata.Builder clearVersion()

Name of the created version. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.

string version = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
CreateVersionOperationMetadata.Builder

This builder for chaining.

getDefaultInstanceForType()

public CreateVersionOperationMetadata getDefaultInstanceForType()
Returns
Type Description
CreateVersionOperationMetadata

getDescriptorForType()

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

getVersion()

public String getVersion()

Name of the created version. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.

string version = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Name of the created version. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.

string version = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for version.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateVersionOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setVersion(String value)

public CreateVersionOperationMetadata.Builder setVersion(String value)

Name of the created version. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.

string version = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The version to set.

Returns
Type Description
CreateVersionOperationMetadata.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public CreateVersionOperationMetadata.Builder setVersionBytes(ByteString value)

Name of the created version. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.

string version = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
CreateVersionOperationMetadata.Builder

This builder for chaining.