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.cloud.datafusion.v1.Version
Static Fields
AVAILABLE_FEATURES_FIELD_NUMBER
public static final int AVAILABLE_FEATURES_FIELD_NUMBER
Field Value
DEFAULT_VERSION_FIELD_NUMBER
public static final int DEFAULT_VERSION_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
VERSION_NUMBER_FIELD_NUMBER
public static final int VERSION_NUMBER_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Version getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Version.Builder newBuilder()
Returns
newBuilder(Version prototype)
public static Version.Builder newBuilder(Version prototype)
Parameter
Returns
public static Version parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Version parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Version parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Version parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Version parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Version parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Version parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Version parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Version parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Version parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Version parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Version parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Version> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
getDefaultInstanceForType()
public Version getDefaultInstanceForType()
Returns
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getType()
public Version.Type getType()
Type represents the release availability of the version
.google.cloud.datafusion.v1.Version.Type type = 4;
Returns
getTypeValue()
public int getTypeValue()
Type represents the release availability of the version
.google.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
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Version.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Version.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Version.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions