Class PullStoppedEvent.Builder (0.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PullStoppedEvent build()
Returns
TypeDescription
PullStoppedEvent

buildPartial()

public PullStoppedEvent buildPartial()
Returns
TypeDescription
PullStoppedEvent

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearImageUri()

public PullStoppedEvent.Builder clearImageUri()

The URI of the image that was pulled.

string image_uri = 1;

Returns
TypeDescription
PullStoppedEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PullStoppedEvent getDefaultInstanceForType()
Returns
TypeDescription
PullStoppedEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getImageUri()

public String getImageUri()

The URI of the image that was pulled.

string image_uri = 1;

Returns
TypeDescription
String

The imageUri.

getImageUriBytes()

public ByteString getImageUriBytes()

The URI of the image that was pulled.

string image_uri = 1;

Returns
TypeDescription
ByteString

The bytes for imageUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PullStoppedEvent other)

public PullStoppedEvent.Builder mergeFrom(PullStoppedEvent other)
Parameter
NameDescription
otherPullStoppedEvent
Returns
TypeDescription
PullStoppedEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public PullStoppedEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The imageUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for imageUri to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PullStoppedEvent.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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