Class Version (0.15.0)

public final class Version extends GeneratedMessageV3 implements VersionOrBuilder

The Data Fusion version. This proto message stores information about certain Data Fusion version, which is used for Data Fusion version upgrade.

Protobuf type google.events.cloud.datafusion.v1.Version

Implements

VersionOrBuilder

Static Fields

AVAILABLE_FEATURES_FIELD_NUMBER

public static final int AVAILABLE_FEATURES_FIELD_NUMBER
Field Value
Type Description
int

DEFAULT_VERSION_FIELD_NUMBER

public static final int DEFAULT_VERSION_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

VERSION_NUMBER_FIELD_NUMBER

public static final int VERSION_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Version getDefaultInstance()
Returns
Type Description
Version

getDescriptor()

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

newBuilder()

public static Version.Builder newBuilder()
Returns
Type Description
Version.Builder

newBuilder(Version prototype)

public static Version.Builder newBuilder(Version prototype)
Parameter
Name Description
prototype Version
Returns
Type Description
Version.Builder

parseDelimitedFrom(InputStream input)

public static Version parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Version
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Version parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Version
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Version parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Version
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Version parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Version
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Version parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Version
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Version parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Version
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Version parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Version
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Version parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Version
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Version parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Version
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Version parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Version
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Version parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Version
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Version parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Version
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Version> parser()
Returns
Type Description
Parser<Version>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
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.

getParserForType()

public Parser<Version> getParserForType()
Returns
Type Description
Parser<Version>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public Version.Type getType()

Type represents the release availability of the version

.google.events.cloud.datafusion.v1.Version.Type type = 4;

Returns
Type Description
Version.Type

The type.

getTypeValue()

public int getTypeValue()

Type represents the release availability of the version

.google.events.cloud.datafusion.v1.Version.Type type = 4;

Returns
Type Description
int

The enum numeric value on the wire for type.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
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
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Version.Builder newBuilderForType()
Returns
Type Description
Version.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Version.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Version.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Version.Builder toBuilder()
Returns
Type Description
Version.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException