Class Metadata.Builder (0.3.8)

public static final class Metadata.Builder extends GeneratedMessageV3.Builder<Metadata.Builder> implements MetadataOrBuilder

Carries information about the pipeline execution that is returned in the long running operation's metadata field.

Protobuf type google.cloud.lifesciences.v2beta.Metadata

Implements

MetadataOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllEvents(Iterable<? extends Event> values)

public Metadata.Builder addAllEvents(Iterable<? extends Event> values)

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.lifesciences.v2beta.Event>
Returns
TypeDescription
Metadata.Builder

addEvents(Event value)

public Metadata.Builder addEvents(Event value)

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Parameter
NameDescription
valueEvent
Returns
TypeDescription
Metadata.Builder

addEvents(Event.Builder builderForValue)

public Metadata.Builder addEvents(Event.Builder builderForValue)

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Parameter
NameDescription
builderForValueEvent.Builder
Returns
TypeDescription
Metadata.Builder

addEvents(int index, Event value)

public Metadata.Builder addEvents(int index, Event value)

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Parameters
NameDescription
indexint
valueEvent
Returns
TypeDescription
Metadata.Builder

addEvents(int index, Event.Builder builderForValue)

public Metadata.Builder addEvents(int index, Event.Builder builderForValue)

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Parameters
NameDescription
indexint
builderForValueEvent.Builder
Returns
TypeDescription
Metadata.Builder

addEventsBuilder()

public Event.Builder addEventsBuilder()

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Returns
TypeDescription
Event.Builder

addEventsBuilder(int index)

public Event.Builder addEventsBuilder(int index)

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Event.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Metadata build()
Returns
TypeDescription
Metadata

buildPartial()

public Metadata buildPartial()
Returns
TypeDescription
Metadata

clear()

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

clearCreateTime()

public Metadata.Builder clearCreateTime()

The time at which the operation was created by the API.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
Metadata.Builder

clearEndTime()

public Metadata.Builder clearEndTime()

The time at which execution was completed and resources were cleaned up.

.google.protobuf.Timestamp end_time = 6;

Returns
TypeDescription
Metadata.Builder

clearEvents()

public Metadata.Builder clearEvents()

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Returns
TypeDescription
Metadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

public Metadata.Builder clearLabels()
Returns
TypeDescription
Metadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPipeline()

public Metadata.Builder clearPipeline()

The pipeline this operation represents.

.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;

Returns
TypeDescription
Metadata.Builder

clearPubSubTopic()

public Metadata.Builder clearPubSubTopic()

The name of the Cloud Pub/Sub topic where notifications of operation status changes are sent.

string pub_sub_topic = 7;

Returns
TypeDescription
Metadata.Builder

This builder for chaining.

clearStartTime()

public Metadata.Builder clearStartTime()

The first time at which resources were allocated to execute the pipeline.

.google.protobuf.Timestamp start_time = 5;

Returns
TypeDescription
Metadata.Builder

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

The user-defined labels associated with this operation.

map<string, string> labels = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getCreateTime()

public Timestamp getCreateTime()

The time at which the operation was created by the API.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The time at which the operation was created by the API.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The time at which the operation was created by the API.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Metadata getDefaultInstanceForType()
Returns
TypeDescription
Metadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

The time at which execution was completed and resources were cleaned up.

.google.protobuf.Timestamp end_time = 6;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The time at which execution was completed and resources were cleaned up.

.google.protobuf.Timestamp end_time = 6;

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time at which execution was completed and resources were cleaned up.

.google.protobuf.Timestamp end_time = 6;

Returns
TypeDescription
TimestampOrBuilder

getEvents(int index)

public Event getEvents(int index)

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Event

getEventsBuilder(int index)

public Event.Builder getEventsBuilder(int index)

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Event.Builder

getEventsBuilderList()

public List<Event.Builder> getEventsBuilderList()

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Returns
TypeDescription
List<Builder>

getEventsCount()

public int getEventsCount()

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Returns
TypeDescription
int

getEventsList()

public List<Event> getEventsList()

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Returns
TypeDescription
List<Event>

getEventsOrBuilder(int index)

public EventOrBuilder getEventsOrBuilder(int index)

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
EventOrBuilder

getEventsOrBuilderList()

public List<? extends EventOrBuilder> getEventsOrBuilderList()

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Returns
TypeDescription
List<? extends com.google.cloud.lifesciences.v2beta.EventOrBuilder>

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

The user-defined labels associated with this operation.

map<string, string> labels = 2;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

The user-defined labels associated with this operation.

map<string, string> labels = 2;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

The user-defined labels associated with this operation.

map<string, string> labels = 2;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

The user-defined labels associated with this operation.

map<string, string> labels = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getPipeline()

public Pipeline getPipeline()

The pipeline this operation represents.

.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;

Returns
TypeDescription
Pipeline

The pipeline.

getPipelineBuilder()

public Pipeline.Builder getPipelineBuilder()

The pipeline this operation represents.

.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;

Returns
TypeDescription
Pipeline.Builder

getPipelineOrBuilder()

public PipelineOrBuilder getPipelineOrBuilder()

The pipeline this operation represents.

.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;

Returns
TypeDescription
PipelineOrBuilder

getPubSubTopic()

public String getPubSubTopic()

The name of the Cloud Pub/Sub topic where notifications of operation status changes are sent.

string pub_sub_topic = 7;

Returns
TypeDescription
String

The pubSubTopic.

getPubSubTopicBytes()

public ByteString getPubSubTopicBytes()

The name of the Cloud Pub/Sub topic where notifications of operation status changes are sent.

string pub_sub_topic = 7;

Returns
TypeDescription
ByteString

The bytes for pubSubTopic.

getStartTime()

public Timestamp getStartTime()

The first time at which resources were allocated to execute the pipeline.

.google.protobuf.Timestamp start_time = 5;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The first time at which resources were allocated to execute the pipeline.

.google.protobuf.Timestamp start_time = 5;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The first time at which resources were allocated to execute the pipeline.

.google.protobuf.Timestamp start_time = 5;

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

The time at which the operation was created by the API.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasEndTime()

public boolean hasEndTime()

The time at which execution was completed and resources were cleaned up.

.google.protobuf.Timestamp end_time = 6;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasPipeline()

public boolean hasPipeline()

The pipeline this operation represents.

.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;

Returns
TypeDescription
boolean

Whether the pipeline field is set.

hasStartTime()

public boolean hasStartTime()

The first time at which resources were allocated to execute the pipeline.

.google.protobuf.Timestamp start_time = 5;

Returns
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Metadata.Builder mergeCreateTime(Timestamp value)

The time at which the operation was created by the API.

.google.protobuf.Timestamp create_time = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Metadata.Builder

mergeEndTime(Timestamp value)

public Metadata.Builder mergeEndTime(Timestamp value)

The time at which execution was completed and resources were cleaned up.

.google.protobuf.Timestamp end_time = 6;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Metadata.Builder

mergeFrom(Metadata other)

public Metadata.Builder mergeFrom(Metadata other)
Parameter
NameDescription
otherMetadata
Returns
TypeDescription
Metadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePipeline(Pipeline value)

public Metadata.Builder mergePipeline(Pipeline value)

The pipeline this operation represents.

.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;

Parameter
NameDescription
valuePipeline
Returns
TypeDescription
Metadata.Builder

mergeStartTime(Timestamp value)

public Metadata.Builder mergeStartTime(Timestamp value)

The first time at which resources were allocated to execute the pipeline.

.google.protobuf.Timestamp start_time = 5;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Metadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllLabels(Map<String,String> values)

public Metadata.Builder putAllLabels(Map<String,String> values)

The user-defined labels associated with this operation.

map<string, string> labels = 2;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Metadata.Builder

putLabels(String key, String value)

public Metadata.Builder putLabels(String key, String value)

The user-defined labels associated with this operation.

map<string, string> labels = 2;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Metadata.Builder

removeEvents(int index)

public Metadata.Builder removeEvents(int index)

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Metadata.Builder

removeLabels(String key)

public Metadata.Builder removeLabels(String key)

The user-defined labels associated with this operation.

map<string, string> labels = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
Metadata.Builder

setCreateTime(Timestamp value)

public Metadata.Builder setCreateTime(Timestamp value)

The time at which the operation was created by the API.

.google.protobuf.Timestamp create_time = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Metadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Metadata.Builder setCreateTime(Timestamp.Builder builderForValue)

The time at which the operation was created by the API.

.google.protobuf.Timestamp create_time = 4;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Metadata.Builder

setEndTime(Timestamp value)

public Metadata.Builder setEndTime(Timestamp value)

The time at which execution was completed and resources were cleaned up.

.google.protobuf.Timestamp end_time = 6;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Metadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public Metadata.Builder setEndTime(Timestamp.Builder builderForValue)

The time at which execution was completed and resources were cleaned up.

.google.protobuf.Timestamp end_time = 6;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Metadata.Builder

setEvents(int index, Event value)

public Metadata.Builder setEvents(int index, Event value)

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Parameters
NameDescription
indexint
valueEvent
Returns
TypeDescription
Metadata.Builder

setEvents(int index, Event.Builder builderForValue)

public Metadata.Builder setEvents(int index, Event.Builder builderForValue)

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Parameters
NameDescription
indexint
builderForValueEvent.Builder
Returns
TypeDescription
Metadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPipeline(Pipeline value)

public Metadata.Builder setPipeline(Pipeline value)

The pipeline this operation represents.

.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;

Parameter
NameDescription
valuePipeline
Returns
TypeDescription
Metadata.Builder

setPipeline(Pipeline.Builder builderForValue)

public Metadata.Builder setPipeline(Pipeline.Builder builderForValue)

The pipeline this operation represents.

.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;

Parameter
NameDescription
builderForValuePipeline.Builder
Returns
TypeDescription
Metadata.Builder

setPubSubTopic(String value)

public Metadata.Builder setPubSubTopic(String value)

The name of the Cloud Pub/Sub topic where notifications of operation status changes are sent.

string pub_sub_topic = 7;

Parameter
NameDescription
valueString

The pubSubTopic to set.

Returns
TypeDescription
Metadata.Builder

This builder for chaining.

setPubSubTopicBytes(ByteString value)

public Metadata.Builder setPubSubTopicBytes(ByteString value)

The name of the Cloud Pub/Sub topic where notifications of operation status changes are sent.

string pub_sub_topic = 7;

Parameter
NameDescription
valueByteString

The bytes for pubSubTopic to set.

Returns
TypeDescription
Metadata.Builder

This builder for chaining.

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

public Metadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Metadata.Builder
Overrides

setStartTime(Timestamp value)

public Metadata.Builder setStartTime(Timestamp value)

The first time at which resources were allocated to execute the pipeline.

.google.protobuf.Timestamp start_time = 5;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Metadata.Builder

setStartTime(Timestamp.Builder builderForValue)

public Metadata.Builder setStartTime(Timestamp.Builder builderForValue)

The first time at which resources were allocated to execute the pipeline.

.google.protobuf.Timestamp start_time = 5;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Metadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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