public final class Metadata extends GeneratedMessageV3 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
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int END_TIME_FIELD_NUMBER
Field Value
public static final int EVENTS_FIELD_NUMBER
Field Value
public static final int LABELS_FIELD_NUMBER
Field Value
public static final int PIPELINE_FIELD_NUMBER
Field Value
public static final int PUB_SUB_TOPIC_FIELD_NUMBER
Field Value
public static final int START_TIME_FIELD_NUMBER
Field Value
Static Methods
public static Metadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Metadata.Builder newBuilder()
Returns
public static Metadata.Builder newBuilder(Metadata prototype)
Parameter
Returns
public static Metadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Metadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Metadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Metadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Metadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Metadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Metadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Metadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Metadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Metadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Metadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Metadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Metadata> parser()
Returns
Methods
public boolean containsLabels(String key)
The user-defined labels associated with this operation.
map<string, string> labels = 2;
Parameter
Returns
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Timestamp getCreateTime()
The time at which the operation was created by the API.
.google.protobuf.Timestamp create_time = 4;
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
The time at which the operation was created by the API.
.google.protobuf.Timestamp create_time = 4;
Returns
public Metadata getDefaultInstanceForType()
Returns
public Timestamp getEndTime()
The time at which execution was completed and resources were cleaned up.
.google.protobuf.Timestamp end_time = 6;
Returns
public TimestampOrBuilder getEndTimeOrBuilder()
The time at which execution was completed and resources were cleaned up.
.google.protobuf.Timestamp end_time = 6;
Returns
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
Returns
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
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
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
Returns
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
Type | Description |
List<? extends com.google.cloud.lifesciences.v2beta.EventOrBuilder> | |
public Map<String,String> getLabels()
Returns
public int getLabelsCount()
The user-defined labels associated with this operation.
map<string, string> labels = 2;
Returns
public Map<String,String> getLabelsMap()
The user-defined labels associated with this operation.
map<string, string> labels = 2;
Returns
public String getLabelsOrDefault(String key, String defaultValue)
The user-defined labels associated with this operation.
map<string, string> labels = 2;
Parameters
Returns
public String getLabelsOrThrow(String key)
The user-defined labels associated with this operation.
map<string, string> labels = 2;
Parameter
Returns
public Parser<Metadata> getParserForType()
Returns
Overrides
public Pipeline getPipeline()
The pipeline this operation represents.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;
Returns
public PipelineOrBuilder getPipelineOrBuilder()
The pipeline this operation represents.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;
Returns
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
Type | Description |
String | The pubSubTopic.
|
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
Type | Description |
ByteString | The bytes for pubSubTopic.
|
public int getSerializedSize()
Returns
Overrides
public Timestamp getStartTime()
The first time at which resources were allocated to execute the pipeline.
.google.protobuf.Timestamp start_time = 5;
Returns
public TimestampOrBuilder getStartTimeOrBuilder()
The first time at which resources were allocated to execute the pipeline.
.google.protobuf.Timestamp start_time = 5;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasCreateTime()
The time at which the operation was created by the API.
.google.protobuf.Timestamp create_time = 4;
Returns
Type | Description |
boolean | Whether the createTime field is set.
|
public boolean hasEndTime()
The time at which execution was completed and resources were cleaned up.
.google.protobuf.Timestamp end_time = 6;
Returns
Type | Description |
boolean | Whether the endTime field is set.
|
public boolean hasPipeline()
The pipeline this operation represents.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;
Returns
Type | Description |
boolean | Whether the pipeline field is set.
|
public boolean hasStartTime()
The first time at which resources were allocated to execute the pipeline.
.google.protobuf.Timestamp start_time = 5;
Returns
Type | Description |
boolean | Whether the startTime field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Metadata.Builder newBuilderForType()
Returns
protected Metadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Metadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions