Class CreateVersionOperationMetadata.Builder (0.64.0)

public static final class CreateVersionOperationMetadata.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersion()

public CreateVersionOperationMetadata.Builder clearVersion()

Name of the created version. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.

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

Returns
Type Description
CreateVersionOperationMetadata.Builder

This builder for chaining.

clone()

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

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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.

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

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Name of the created version. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.

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

Returns
Type Description
ByteString

The bytes for version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public CreateVersionOperationMetadata.Builder setVersion(String value)

Name of the created version. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.

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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.

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.