Class SDKInfo.Builder (0.48.0)

public static final class SDKInfo.Builder extends GeneratedMessageV3.Builder<SDKInfo.Builder> implements SDKInfoOrBuilder

SDK Information.

Protobuf type google.dataflow.v1beta3.SDKInfo

Implements

SDKInfoOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SDKInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SDKInfo.Builder
Overrides

build()

public SDKInfo build()
Returns
Type Description
SDKInfo

buildPartial()

public SDKInfo buildPartial()
Returns
Type Description
SDKInfo

clear()

public SDKInfo.Builder clear()
Returns
Type Description
SDKInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SDKInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SDKInfo.Builder
Overrides

clearLanguage()

public SDKInfo.Builder clearLanguage()

Required. The SDK Language.

.google.dataflow.v1beta3.SDKInfo.Language language = 1;

Returns
Type Description
SDKInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SDKInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SDKInfo.Builder
Overrides

clearVersion()

public SDKInfo.Builder clearVersion()

Optional. The SDK version.

string version = 2;

Returns
Type Description
SDKInfo.Builder

This builder for chaining.

clone()

public SDKInfo.Builder clone()
Returns
Type Description
SDKInfo.Builder
Overrides

getDefaultInstanceForType()

public SDKInfo getDefaultInstanceForType()
Returns
Type Description
SDKInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLanguage()

public SDKInfo.Language getLanguage()

Required. The SDK Language.

.google.dataflow.v1beta3.SDKInfo.Language language = 1;

Returns
Type Description
SDKInfo.Language

The language.

getLanguageValue()

public int getLanguageValue()

Required. The SDK Language.

.google.dataflow.v1beta3.SDKInfo.Language language = 1;

Returns
Type Description
int

The enum numeric value on the wire for language.

getVersion()

public String getVersion()

Optional. The SDK version.

string version = 2;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Optional. The SDK version.

string version = 2;

Returns
Type Description
ByteString

The bytes for version.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SDKInfo other)

public SDKInfo.Builder mergeFrom(SDKInfo other)
Parameter
Name Description
other SDKInfo
Returns
Type Description
SDKInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SDKInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SDKInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SDKInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SDKInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SDKInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SDKInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SDKInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SDKInfo.Builder
Overrides

setLanguage(SDKInfo.Language value)

public SDKInfo.Builder setLanguage(SDKInfo.Language value)

Required. The SDK Language.

.google.dataflow.v1beta3.SDKInfo.Language language = 1;

Parameter
Name Description
value SDKInfo.Language

The language to set.

Returns
Type Description
SDKInfo.Builder

This builder for chaining.

setLanguageValue(int value)

public SDKInfo.Builder setLanguageValue(int value)

Required. The SDK Language.

.google.dataflow.v1beta3.SDKInfo.Language language = 1;

Parameter
Name Description
value int

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

Returns
Type Description
SDKInfo.Builder

This builder for chaining.

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

public SDKInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SDKInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SDKInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SDKInfo.Builder
Overrides

setVersion(String value)

public SDKInfo.Builder setVersion(String value)

Optional. The SDK version.

string version = 2;

Parameter
Name Description
value String

The version to set.

Returns
Type Description
SDKInfo.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public SDKInfo.Builder setVersionBytes(ByteString value)

Optional. The SDK version.

string version = 2;

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
SDKInfo.Builder

This builder for chaining.