Class PullStoppedEvent.Builder (0.46.0)

public static final class PullStoppedEvent.Builder extends GeneratedMessageV3.Builder<PullStoppedEvent.Builder> implements PullStoppedEventOrBuilder

An event generated when the worker stops pulling an image.

Protobuf type google.cloud.lifesciences.v2beta.PullStoppedEvent

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PullStoppedEvent build()
Returns
Type Description
PullStoppedEvent

buildPartial()

public PullStoppedEvent buildPartial()
Returns
Type Description
PullStoppedEvent

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearImageUri()

public PullStoppedEvent.Builder clearImageUri()

The URI of the image that was pulled.

string image_uri = 1;

Returns
Type Description
PullStoppedEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PullStoppedEvent getDefaultInstanceForType()
Returns
Type Description
PullStoppedEvent

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(PullStoppedEvent other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setImageUri(String value)

public PullStoppedEvent.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
PullStoppedEvent.Builder

This builder for chaining.

setImageUriBytes(ByteString value)

public PullStoppedEvent.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
PullStoppedEvent.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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