public static final class Version.Builder extends GeneratedMessageV3.Builder<Version.Builder> implements VersionOrBuilderThe 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Version.BuilderImplements
VersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| 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;
| Name | Description |
| values | Iterable<String>The availableFeatures to add. |
| 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;
| Name | Description |
| value | StringThe availableFeatures to add. |
| 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;
| Name | Description |
| value | ByteStringThe bytes of the availableFeatures to add. |
| Type | Description |
| Version.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Version.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Version.Builder |
build()
public Version build()| Type | Description |
| Version |
buildPartial()
public Version buildPartial()| Type | Description |
| Version |
clear()
public Version.Builder clear()| Type | Description |
| Version.Builder |
clearAvailableFeatures()
public Version.Builder clearAvailableFeatures()Represents a list of available feature names for a given version.
repeated string available_features = 3;
| 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;
| Type | Description |
| Version.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Version.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| Version.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Version.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| Version.Builder |
clearType()
public Version.Builder clearType()Type represents the release availability of the version
.google.cloud.datafusion.v1.Version.Type type = 4;
| 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;
| Type | Description |
| Version.Builder | This builder for chaining. |
clone()
public Version.Builder clone()| Type | Description |
| Version.Builder |
getAvailableFeatures(int index)
public String getAvailableFeatures(int index)Represents a list of available feature names for a given version.
repeated string available_features = 3;
| Name | Description |
| index | intThe index of the element to return. |
| 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;
| Name | Description |
| index | intThe index of the value to return. |
| 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;
| 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;
| Type | Description |
| ProtocolStringList | A list containing the availableFeatures. |
getDefaultInstanceForType()
public Version getDefaultInstanceForType()| Type | Description |
| Version |
getDefaultVersion()
public boolean getDefaultVersion()Whether this is currently the default version for Cloud Data Fusion
bool default_version = 2;
| Type | Description |
| boolean | The defaultVersion. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getType()
public Version.Type getType()Type represents the release availability of the version
.google.cloud.datafusion.v1.Version.Type type = 4;
| Type | Description |
| Version.Type | The type. |
getTypeValue()
public int getTypeValue()Type represents the release availability of the version
.google.cloud.datafusion.v1.Version.Type type = 4;
| 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;
| 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;
| Type | Description |
| ByteString | The bytes for versionNumber. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(Version other)
public Version.Builder mergeFrom(Version other)| Name | Description |
| other | Version |
| Type | Description |
| Version.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Version.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| Version.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public Version.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| Version.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Version.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Version.Builder |
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;
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe availableFeatures to set. |
| 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;
| Name | Description |
| value | booleanThe defaultVersion to set. |
| Type | Description |
| Version.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Version.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Version.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Version.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| Version.Builder |
setType(Version.Type value)
public Version.Builder setType(Version.Type value)Type represents the release availability of the version
.google.cloud.datafusion.v1.Version.Type type = 4;
| Name | Description |
| value | Version.TypeThe type to set. |
| 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.v1.Version.Type type = 4;
| Name | Description |
| value | intThe enum numeric value on the wire for type to set. |
| Type | Description |
| Version.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Version.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Version.Builder |
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;
| Name | Description |
| value | StringThe versionNumber to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for versionNumber to set. |
| Type | Description |
| Version.Builder | This builder for chaining. |