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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CreateVersionOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateVersionOperationMetadata build()
Returns
public CreateVersionOperationMetadata buildPartial()
Returns
public CreateVersionOperationMetadata.Builder clear()
Returns
Overrides
public CreateVersionOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateVersionOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public CreateVersionOperationMetadata.Builder clone()
Returns
Overrides
public CreateVersionOperationMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateVersionOperationMetadata.Builder mergeFrom(CreateVersionOperationMetadata other)
Parameter
Returns
public CreateVersionOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateVersionOperationMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CreateVersionOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateVersionOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateVersionOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CreateVersionOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
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