Class Runnable.Barrier.Builder (0.55.0)

public static final class Runnable.Barrier.Builder extends GeneratedMessageV3.Builder<Runnable.Barrier.Builder> implements Runnable.BarrierOrBuilder

A barrier runnable automatically blocks the execution of subsequent runnables until all the tasks in the task group reach the barrier.

Protobuf type google.cloud.batch.v1.Runnable.Barrier

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Runnable.Barrier build()
Returns
Type Description
Runnable.Barrier

buildPartial()

public Runnable.Barrier buildPartial()
Returns
Type Description
Runnable.Barrier

clear()

public Runnable.Barrier.Builder clear()
Returns
Type Description
Runnable.Barrier.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public Runnable.Barrier.Builder clearName()

Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.

string name = 1;

Returns
Type Description
Runnable.Barrier.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Runnable.Barrier.Builder clone()
Returns
Type Description
Runnable.Barrier.Builder
Overrides

getDefaultInstanceForType()

public Runnable.Barrier getDefaultInstanceForType()
Returns
Type Description
Runnable.Barrier

getDescriptorForType()

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

getName()

public String getName()

Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Runnable.Barrier other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Runnable.Barrier.Builder setName(String value)

Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Runnable.Barrier.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Runnable.Barrier.Builder setNameBytes(ByteString value)

Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Runnable.Barrier.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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