Class PullStartedEvent.Builder (0.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PullStartedEvent build()
Returns
TypeDescription
PullStartedEvent

buildPartial()

public PullStartedEvent buildPartial()
Returns
TypeDescription
PullStartedEvent

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearImageUri()

public PullStartedEvent.Builder clearImageUri()

The URI of the image that was pulled.

string image_uri = 1;

Returns
TypeDescription
PullStartedEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PullStartedEvent getDefaultInstanceForType()
Returns
TypeDescription
PullStartedEvent

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

public PullStartedEvent.Builder mergeFrom(PullStartedEvent other)
Parameter
NameDescription
otherPullStartedEvent
Returns
TypeDescription
PullStartedEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The imageUri to set.

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

The bytes for imageUri to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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