Class PullStartedEvent.Builder (0.47.0)

public static final class PullStartedEvent.Builder extends GeneratedMessageV3.Builder<PullStartedEvent.Builder> implements PullStartedEventOrBuilder

An event generated when the worker starts pulling an image.

Protobuf type google.cloud.lifesciences.v2beta.PullStartedEvent

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PullStartedEvent build()
Returns
Type Description
PullStartedEvent

buildPartial()

public PullStartedEvent buildPartial()
Returns
Type Description
PullStartedEvent

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearImageUri()

public PullStartedEvent.Builder clearImageUri()

The URI of the image that was pulled.

string image_uri = 1;

Returns
Type Description
PullStartedEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PullStartedEvent getDefaultInstanceForType()
Returns
Type Description
PullStartedEvent

getDescriptorForType()

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

getImageUri()

public String getImageUri()

The URI of the image that was pulled.

string image_uri = 1;

Returns
Type Description
String

The imageUri.

getImageUriBytes()

public ByteString getImageUriBytes()

The URI of the image that was pulled.

string image_uri = 1;

Returns
Type Description
ByteString

The bytes for imageUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PullStartedEvent other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setImageUri(String value)

public PullStartedEvent.Builder setImageUri(String value)

The URI of the image that was pulled.

string image_uri = 1;

Parameter
Name Description
value String

The imageUri to set.

Returns
Type Description
PullStartedEvent.Builder

This builder for chaining.

setImageUriBytes(ByteString value)

public PullStartedEvent.Builder setImageUriBytes(ByteString value)

The URI of the image that was pulled.

string image_uri = 1;

Parameter
Name Description
value ByteString

The bytes for imageUri to set.

Returns
Type Description
PullStartedEvent.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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