Class SDKInfo.Builder (0.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SDKInfo build()
Returns
TypeDescription
SDKInfo

buildPartial()

public SDKInfo buildPartial()
Returns
TypeDescription
SDKInfo

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLanguage()

public SDKInfo.Builder clearLanguage()

Required. The SDK Language.

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

Returns
TypeDescription
SDKInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersion()

public SDKInfo.Builder clearVersion()

Optional. The SDK version.

string version = 2;

Returns
TypeDescription
SDKInfo.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SDKInfo getDefaultInstanceForType()
Returns
TypeDescription
SDKInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLanguage()

public SDKInfo.Language getLanguage()

Required. The SDK Language.

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

Returns
TypeDescription
SDKInfo.Language

The language.

getLanguageValue()

public int getLanguageValue()

Required. The SDK Language.

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

Returns
TypeDescription
int

The enum numeric value on the wire for language.

getVersion()

public String getVersion()

Optional. The SDK version.

string version = 2;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Optional. The SDK version.

string version = 2;

Returns
TypeDescription
ByteString

The bytes for version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SDKInfo other)

public SDKInfo.Builder mergeFrom(SDKInfo other)
Parameter
NameDescription
otherSDKInfo
Returns
TypeDescription
SDKInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public SDKInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSDKInfo.Language

The language to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SDKInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public SDKInfo.Builder setVersion(String value)

Optional. The SDK version.

string version = 2;

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
SDKInfo.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public SDKInfo.Builder setVersionBytes(ByteString value)

Optional. The SDK version.

string version = 2;

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
SDKInfo.Builder

This builder for chaining.