Class Version.Builder (1.12.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
TypeDescription
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
NameDescription
valuesIterable<String>

The availableFeatures to add.

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

The availableFeatures to add.

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

The bytes of the availableFeatures to add.

Returns
TypeDescription
Version.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Version build()
Returns
TypeDescription
Version

buildPartial()

public Version buildPartial()
Returns
TypeDescription
Version

clear()

public Version.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Version.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public Version.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the availableFeatures.

getDefaultInstanceForType()

public Version getDefaultInstanceForType()
Returns
TypeDescription
Version

getDefaultVersion()

public boolean getDefaultVersion()

Whether this is currently the default version for Cloud Data Fusion

bool default_version = 2;

Returns
TypeDescription
boolean

The defaultVersion.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getType()

public Version.Type getType()

Type represents the release availability of the version

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for versionNumber.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Version other)

public Version.Builder mergeFrom(Version other)
Parameter
NameDescription
otherVersion
Returns
TypeDescription
Version.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Version.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The availableFeatures to set.

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

The defaultVersion to set.

Returns
TypeDescription
Version.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public Version.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueVersion.Type

The type to set.

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

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

Returns
TypeDescription
Version.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

The versionNumber to set.

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

The bytes for versionNumber to set.

Returns
TypeDescription
Version.Builder

This builder for chaining.