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