Class Version.Builder (1.45.0)

public static final class Version.Builder extends GeneratedMessageV3.Builder<Version.Builder> implements VersionOrBuilder

The Data Fusion version.

Protobuf type google.cloud.datafusion.v1beta1.Version

Implements

VersionOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllAvailableFeatures(Iterable<String> values)

public Version.Builder addAllAvailableFeatures(Iterable<String> values)

Represents a list of available feature names for a given version.

repeated string available_features = 3;

Parameter
Name Description
values Iterable<String>

The availableFeatures to add.

Returns
Type Description
Version.Builder

This builder for chaining.

addAvailableFeatures(String value)

public Version.Builder addAvailableFeatures(String value)

Represents a list of available feature names for a given version.

repeated string available_features = 3;

Parameter
Name Description
value String

The availableFeatures to add.

Returns
Type Description
Version.Builder

This builder for chaining.

addAvailableFeaturesBytes(ByteString value)

public Version.Builder addAvailableFeaturesBytes(ByteString value)

Represents a list of available feature names for a given version.

repeated string available_features = 3;

Parameter
Name Description
value ByteString

The bytes of the availableFeatures to add.

Returns
Type Description
Version.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Version build()
Returns
Type Description
Version

buildPartial()

public Version buildPartial()
Returns
Type Description
Version

clear()

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

clearAvailableFeatures()

public Version.Builder clearAvailableFeatures()

Represents a list of available feature names for a given version.

repeated string available_features = 3;

Returns
Type Description
Version.Builder

This builder for chaining.

clearDefaultVersion()

public Version.Builder clearDefaultVersion()

Whether this is currently the default version for Cloud Data Fusion

bool default_version = 2;

Returns
Type Description
Version.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public Version.Builder clearType()

Type represents the release availability of the version

.google.cloud.datafusion.v1beta1.Version.Type type = 4;

Returns
Type Description
Version.Builder

This builder for chaining.

clearVersionNumber()

public Version.Builder clearVersionNumber()

The version number of the Data Fusion instance, such as '6.0.1.0'.

string version_number = 1;

Returns
Type Description
Version.Builder

This builder for chaining.

clone()

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

getAvailableFeatures(int index)

public String getAvailableFeatures(int index)

Represents a list of available feature names for a given version.

repeated string available_features = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The availableFeatures at the given index.

getAvailableFeaturesBytes(int index)

public ByteString getAvailableFeaturesBytes(int index)

Represents a list of available feature names for a given version.

repeated string available_features = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the availableFeatures at the given index.

getAvailableFeaturesCount()

public int getAvailableFeaturesCount()

Represents a list of available feature names for a given version.

repeated string available_features = 3;

Returns
Type Description
int

The count of availableFeatures.

getAvailableFeaturesList()

public ProtocolStringList getAvailableFeaturesList()

Represents a list of available feature names for a given version.

repeated string available_features = 3;

Returns
Type Description
ProtocolStringList

A list containing the availableFeatures.

getDefaultInstanceForType()

public Version getDefaultInstanceForType()
Returns
Type Description
Version

getDefaultVersion()

public boolean getDefaultVersion()

Whether this is currently the default version for Cloud Data Fusion

bool default_version = 2;

Returns
Type Description
boolean

The defaultVersion.

getDescriptorForType()

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

getType()

public Version.Type getType()

Type represents the release availability of the version

.google.cloud.datafusion.v1beta1.Version.Type type = 4;

Returns
Type Description
Version.Type

The type.

getTypeValue()

public int getTypeValue()

Type represents the release availability of the version

.google.cloud.datafusion.v1beta1.Version.Type type = 4;

Returns
Type Description
int

The enum numeric value on the wire for type.

getVersionNumber()

public String getVersionNumber()

The version number of the Data Fusion instance, such as '6.0.1.0'.

string version_number = 1;

Returns
Type Description
String

The versionNumber.

getVersionNumberBytes()

public ByteString getVersionNumberBytes()

The version number of the Data Fusion instance, such as '6.0.1.0'.

string version_number = 1;

Returns
Type Description
ByteString

The bytes for versionNumber.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Version other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAvailableFeatures(int index, String value)

public Version.Builder setAvailableFeatures(int index, String value)

Represents a list of available feature names for a given version.

repeated string available_features = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The availableFeatures to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setDefaultVersion(boolean value)

public Version.Builder setDefaultVersion(boolean value)

Whether this is currently the default version for Cloud Data Fusion

bool default_version = 2;

Parameter
Name Description
value boolean

The defaultVersion to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setType(Version.Type value)

public Version.Builder setType(Version.Type value)

Type represents the release availability of the version

.google.cloud.datafusion.v1beta1.Version.Type type = 4;

Parameter
Name Description
value Version.Type

The type to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setTypeValue(int value)

public Version.Builder setTypeValue(int value)

Type represents the release availability of the version

.google.cloud.datafusion.v1beta1.Version.Type type = 4;

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersionNumber(String value)

public Version.Builder setVersionNumber(String value)

The version number of the Data Fusion instance, such as '6.0.1.0'.

string version_number = 1;

Parameter
Name Description
value String

The versionNumber to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setVersionNumberBytes(ByteString value)

public Version.Builder setVersionNumberBytes(ByteString value)

The version number of the Data Fusion instance, such as '6.0.1.0'.

string version_number = 1;

Parameter
Name Description
value ByteString

The bytes for versionNumber to set.

Returns
Type Description
Version.Builder

This builder for chaining.