Class SdkVersion.Builder (0.45.0)

public static final class SdkVersion.Builder extends GeneratedMessageV3.Builder<SdkVersion.Builder> implements SdkVersionOrBuilder

The version of the SDK used to run the job.

Protobuf type google.dataflow.v1beta3.SdkVersion

Implements

SdkVersionOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SdkVersion build()
Returns
TypeDescription
SdkVersion

buildPartial()

public SdkVersion buildPartial()
Returns
TypeDescription
SdkVersion

clear()

public SdkVersion.Builder clear()
Returns
TypeDescription
SdkVersion.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SdkVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SdkVersion.Builder
Overrides

clearSdkSupportStatus()

public SdkVersion.Builder clearSdkSupportStatus()

The support status for this SDK version.

.google.dataflow.v1beta3.SdkVersion.SdkSupportStatus sdk_support_status = 3;

Returns
TypeDescription
SdkVersion.Builder

This builder for chaining.

clearVersion()

public SdkVersion.Builder clearVersion()

The version of the SDK used to run the job.

string version = 1;

Returns
TypeDescription
SdkVersion.Builder

This builder for chaining.

clearVersionDisplayName()

public SdkVersion.Builder clearVersionDisplayName()

A readable string describing the version of the SDK.

string version_display_name = 2;

Returns
TypeDescription
SdkVersion.Builder

This builder for chaining.

clone()

public SdkVersion.Builder clone()
Returns
TypeDescription
SdkVersion.Builder
Overrides

getDefaultInstanceForType()

public SdkVersion getDefaultInstanceForType()
Returns
TypeDescription
SdkVersion

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSdkSupportStatus()

public SdkVersion.SdkSupportStatus getSdkSupportStatus()

The support status for this SDK version.

.google.dataflow.v1beta3.SdkVersion.SdkSupportStatus sdk_support_status = 3;

Returns
TypeDescription
SdkVersion.SdkSupportStatus

The sdkSupportStatus.

getSdkSupportStatusValue()

public int getSdkSupportStatusValue()

The support status for this SDK version.

.google.dataflow.v1beta3.SdkVersion.SdkSupportStatus sdk_support_status = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for sdkSupportStatus.

getVersion()

public String getVersion()

The version of the SDK used to run the job.

string version = 1;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The version of the SDK used to run the job.

string version = 1;

Returns
TypeDescription
ByteString

The bytes for version.

getVersionDisplayName()

public String getVersionDisplayName()

A readable string describing the version of the SDK.

string version_display_name = 2;

Returns
TypeDescription
String

The versionDisplayName.

getVersionDisplayNameBytes()

public ByteString getVersionDisplayNameBytes()

A readable string describing the version of the SDK.

string version_display_name = 2;

Returns
TypeDescription
ByteString

The bytes for versionDisplayName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SdkVersion other)

public SdkVersion.Builder mergeFrom(SdkVersion other)
Parameter
NameDescription
otherSdkVersion
Returns
TypeDescription
SdkVersion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SdkVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SdkVersion.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SdkVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SdkVersion.Builder
Overrides

setSdkSupportStatus(SdkVersion.SdkSupportStatus value)

public SdkVersion.Builder setSdkSupportStatus(SdkVersion.SdkSupportStatus value)

The support status for this SDK version.

.google.dataflow.v1beta3.SdkVersion.SdkSupportStatus sdk_support_status = 3;

Parameter
NameDescription
valueSdkVersion.SdkSupportStatus

The sdkSupportStatus to set.

Returns
TypeDescription
SdkVersion.Builder

This builder for chaining.

setSdkSupportStatusValue(int value)

public SdkVersion.Builder setSdkSupportStatusValue(int value)

The support status for this SDK version.

.google.dataflow.v1beta3.SdkVersion.SdkSupportStatus sdk_support_status = 3;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
SdkVersion.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SdkVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SdkVersion.Builder
Overrides

setVersion(String value)

public SdkVersion.Builder setVersion(String value)

The version of the SDK used to run the job.

string version = 1;

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
SdkVersion.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public SdkVersion.Builder setVersionBytes(ByteString value)

The version of the SDK used to run the job.

string version = 1;

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
SdkVersion.Builder

This builder for chaining.

setVersionDisplayName(String value)

public SdkVersion.Builder setVersionDisplayName(String value)

A readable string describing the version of the SDK.

string version_display_name = 2;

Parameter
NameDescription
valueString

The versionDisplayName to set.

Returns
TypeDescription
SdkVersion.Builder

This builder for chaining.

setVersionDisplayNameBytes(ByteString value)

public SdkVersion.Builder setVersionDisplayNameBytes(ByteString value)

A readable string describing the version of the SDK.

string version_display_name = 2;

Parameter
NameDescription
valueByteString

The bytes for versionDisplayName to set.

Returns
TypeDescription
SdkVersion.Builder

This builder for chaining.