Class CustomSourceLocation.Builder (0.49.0)

public static final class CustomSourceLocation.Builder extends GeneratedMessageV3.Builder<CustomSourceLocation.Builder> implements CustomSourceLocationOrBuilder

Identifies the location of a custom souce.

Protobuf type google.dataflow.v1beta3.CustomSourceLocation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CustomSourceLocation build()
Returns
Type Description
CustomSourceLocation

buildPartial()

public CustomSourceLocation buildPartial()
Returns
Type Description
CustomSourceLocation

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStateful()

public CustomSourceLocation.Builder clearStateful()

Whether this source is stateful.

bool stateful = 1;

Returns
Type Description
CustomSourceLocation.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CustomSourceLocation getDefaultInstanceForType()
Returns
Type Description
CustomSourceLocation

getDescriptorForType()

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

getStateful()

public boolean getStateful()

Whether this source is stateful.

bool stateful = 1;

Returns
Type Description
boolean

The stateful.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CustomSourceLocation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStateful(boolean value)

public CustomSourceLocation.Builder setStateful(boolean value)

Whether this source is stateful.

bool stateful = 1;

Parameter
Name Description
value boolean

The stateful to set.

Returns
Type Description
CustomSourceLocation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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