Class Version (1.5.0)

public final class Version extends GeneratedMessageV3 implements VersionOrBuilder

The Data Fusion version.

Protobuf type google.cloud.datafusion.v1beta1.Version

Implements

VersionOrBuilder

Static Fields

AVAILABLE_FEATURES_FIELD_NUMBER

public static final int AVAILABLE_FEATURES_FIELD_NUMBER
Field Value
TypeDescription
int

DEFAULT_VERSION_FIELD_NUMBER

public static final int DEFAULT_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_NUMBER_FIELD_NUMBER

public static final int VERSION_NUMBER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Version getDefaultInstance()
Returns
TypeDescription
Version

getDescriptor()

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

newBuilder()

public static Version.Builder newBuilder()
Returns
TypeDescription
Version.Builder

newBuilder(Version prototype)

public static Version.Builder newBuilder(Version prototype)
Parameter
NameDescription
prototypeVersion
Returns
TypeDescription
Version.Builder

parseDelimitedFrom(InputStream input)

public static Version parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Version
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Version parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Version
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Version parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Version
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Version parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Version
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Version parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Version
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Version parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Version
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Version parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Version
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Version parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Version
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Version parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Version
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Version parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Version
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Version parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Version
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Version parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Version
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Version> parser()
Returns
TypeDescription
Parser<Version>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

getParserForType()

public Parser<Version> getParserForType()
Returns
TypeDescription
Parser<Version>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Version.Builder newBuilderForType()
Returns
TypeDescription
Version.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Version.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Version.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Version.Builder toBuilder()
Returns
TypeDescription
Version.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException