Class CustomSourceLocation.Builder (0.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CustomSourceLocation build()
Returns
TypeDescription
CustomSourceLocation

buildPartial()

public CustomSourceLocation buildPartial()
Returns
TypeDescription
CustomSourceLocation

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStateful()

public CustomSourceLocation.Builder clearStateful()

Whether this source is stateful.

bool stateful = 1;

Returns
TypeDescription
CustomSourceLocation.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CustomSourceLocation getDefaultInstanceForType()
Returns
TypeDescription
CustomSourceLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getStateful()

public boolean getStateful()

Whether this source is stateful.

bool stateful = 1;

Returns
TypeDescription
boolean

The stateful.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CustomSourceLocation other)

public CustomSourceLocation.Builder mergeFrom(CustomSourceLocation other)
Parameter
NameDescription
otherCustomSourceLocation
Returns
TypeDescription
CustomSourceLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStateful(boolean value)

public CustomSourceLocation.Builder setStateful(boolean value)

Whether this source is stateful.

bool stateful = 1;

Parameter
NameDescription
valueboolean

The stateful to set.

Returns
TypeDescription
CustomSourceLocation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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