Class CreateVersionOperationMetadata.Builder (0.14.2)

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.v3.CreateVersionOperationMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateVersionOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateVersionOperationMetadata.Builder
Overrides

build()

public CreateVersionOperationMetadata build()
Returns
TypeDescription
CreateVersionOperationMetadata

buildPartial()

public CreateVersionOperationMetadata buildPartial()
Returns
TypeDescription
CreateVersionOperationMetadata

clear()

public CreateVersionOperationMetadata.Builder clear()
Returns
TypeDescription
CreateVersionOperationMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateVersionOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateVersionOperationMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateVersionOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateVersionOperationMetadata.Builder

This builder for chaining.

clone()

public CreateVersionOperationMetadata.Builder clone()
Returns
TypeDescription
CreateVersionOperationMetadata.Builder
Overrides

getDefaultInstanceForType()

public CreateVersionOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
CreateVersionOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateVersionOperationMetadata other)

public CreateVersionOperationMetadata.Builder mergeFrom(CreateVersionOperationMetadata other)
Parameter
NameDescription
otherCreateVersionOperationMetadata
Returns
TypeDescription
CreateVersionOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateVersionOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateVersionOperationMetadata.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateVersionOperationMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateVersionOperationMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateVersionOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateVersionOperationMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateVersionOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateVersionOperationMetadata.Builder
Overrides

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

public CreateVersionOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateVersionOperationMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateVersionOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The version to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
CreateVersionOperationMetadata.Builder

This builder for chaining.