Class Run.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Run.Builder>
com.google.cloud.datacatalog.lineage.v1.Run.Builder
- All Implemented Interfaces:
RunOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Run
public static final class Run.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Run.Builder>
implements RunOrBuilder
A lineage run represents an execution of a process that creates lineage events.Protobuf type
google.cloud.datacatalog.lineage.v1.Run-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.Immutable.Required.Required.booleancontainsAttributes(String key) Optional.Deprecated.intOptional.Optional.com.google.protobuf.ValuegetAttributesOrDefault(String key, com.google.protobuf.Value defaultValue) Optional.com.google.protobuf.ValueOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOptional.com.google.protobuf.Timestamp.BuilderOptional.com.google.protobuf.TimestampOrBuilderOptional.Deprecated.getName()Immutable.com.google.protobuf.ByteStringImmutable.com.google.protobuf.TimestampRequired.com.google.protobuf.Timestamp.BuilderRequired.com.google.protobuf.TimestampOrBuilderRequired.getState()Required.intRequired.booleanOptional.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeEndTime(com.google.protobuf.Timestamp value) Optional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) Required.putAllAttributes(Map<String, com.google.protobuf.Value> values) Optional.putAttributes(String key, com.google.protobuf.Value value) Optional.com.google.protobuf.Value.BuilderOptional.removeAttributes(String key) Optional.setDisplayName(String value) Optional.setDisplayNameBytes(com.google.protobuf.ByteString value) Optional.setEndTime(com.google.protobuf.Timestamp value) Optional.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Optional.Immutable.setNameBytes(com.google.protobuf.ByteString value) Immutable.setStartTime(com.google.protobuf.Timestamp value) Required.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Required.Required.setStateValue(int value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Run.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Run.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Run.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Run.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Run.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Run.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Run.Builder>
-
mergeFrom
public Run.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Run.Builder>- Throws:
IOException
-
getName
Immutable. The resource name of the run. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}`. Can be specified or auto-assigned. {run} must be not longer than 200 characters and only contain characters in a set: `a-zA-Z0-9_-:.`string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNamein interfaceRunOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Immutable. The resource name of the run. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}`. Can be specified or auto-assigned. {run} must be not longer than 200 characters and only contain characters in a set: `a-zA-Z0-9_-:.`string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNameBytesin interfaceRunOrBuilder- Returns:
- The bytes for name.
-
setName
Immutable. The resource name of the run. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}`. Can be specified or auto-assigned. {run} must be not longer than 200 characters and only contain characters in a set: `a-zA-Z0-9_-:.`string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Immutable. The resource name of the run. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}`. Can be specified or auto-assigned. {run} must be not longer than 200 characters and only contain characters in a set: `a-zA-Z0-9_-:.`string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setNameBytes
Immutable. The resource name of the run. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}`. Can be specified or auto-assigned. {run} must be not longer than 200 characters and only contain characters in a set: `a-zA-Z0-9_-:.`string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Optional. A human-readable name you can set to display in a user interface. Must be not longer than 1024 characters and only contain UTF-8 letters or numbers, spaces or characters like `_-:&.`
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNamein interfaceRunOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Optional. A human-readable name you can set to display in a user interface. Must be not longer than 1024 characters and only contain UTF-8 letters or numbers, spaces or characters like `_-:&.`
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNameBytesin interfaceRunOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Optional. A human-readable name you can set to display in a user interface. Must be not longer than 1024 characters and only contain UTF-8 letters or numbers, spaces or characters like `_-:&.`
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Optional. A human-readable name you can set to display in a user interface. Must be not longer than 1024 characters and only contain UTF-8 letters or numbers, spaces or characters like `_-:&.`
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Optional. A human-readable name you can set to display in a user interface. Must be not longer than 1024 characters and only contain UTF-8 letters or numbers, spaces or characters like `_-:&.`
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getAttributesCount
public int getAttributesCount()Description copied from interface:RunOrBuilderOptional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed.
map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAttributesCountin interfaceRunOrBuilder
-
containsAttributes
Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed.
map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsAttributesin interfaceRunOrBuilder
-
getAttributes
Deprecated.UsegetAttributesMap()instead.- Specified by:
getAttributesin interfaceRunOrBuilder
-
getAttributesMap
Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed.
map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAttributesMapin interfaceRunOrBuilder
-
getAttributesOrDefault
public com.google.protobuf.Value getAttributesOrDefault(String key, com.google.protobuf.Value defaultValue) Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed.
map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAttributesOrDefaultin interfaceRunOrBuilder
-
getAttributesOrThrow
Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed.
map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAttributesOrThrowin interfaceRunOrBuilder
-
clearAttributes
-
removeAttributes
Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed.
map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableAttributes
Deprecated.Use alternate mutation accessors instead. -
putAttributes
Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed.
map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; -
putAllAttributes
Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed.
map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; -
putAttributesBuilderIfAbsent
Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed.
map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; -
hasStartTime
public boolean hasStartTime()Required. The timestamp of the start of the run.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasStartTimein interfaceRunOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Required. The timestamp of the start of the run.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getStartTimein interfaceRunOrBuilder- Returns:
- The startTime.
-
setStartTime
Required. The timestamp of the start of the run.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = REQUIRED]; -
setStartTime
Required. The timestamp of the start of the run.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = REQUIRED]; -
mergeStartTime
Required. The timestamp of the start of the run.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = REQUIRED]; -
clearStartTime
Required. The timestamp of the start of the run.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = REQUIRED]; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Required. The timestamp of the start of the run.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = REQUIRED]; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Required. The timestamp of the start of the run.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getStartTimeOrBuilderin interfaceRunOrBuilder
-
hasEndTime
public boolean hasEndTime()Optional. The timestamp of the end of the run.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasEndTimein interfaceRunOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()Optional. The timestamp of the end of the run.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEndTimein interfaceRunOrBuilder- Returns:
- The endTime.
-
setEndTime
Optional. The timestamp of the end of the run.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; -
setEndTime
Optional. The timestamp of the end of the run.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; -
mergeEndTime
Optional. The timestamp of the end of the run.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; -
clearEndTime
Optional. The timestamp of the end of the run.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()Optional. The timestamp of the end of the run.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Optional. The timestamp of the end of the run.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEndTimeOrBuilderin interfaceRunOrBuilder
-
getStateValue
public int getStateValue()Required. The state of the run.
.google.cloud.datacatalog.lineage.v1.Run.State state = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getStateValuein interfaceRunOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Required. The state of the run.
.google.cloud.datacatalog.lineage.v1.Run.State state = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Required. The state of the run.
.google.cloud.datacatalog.lineage.v1.Run.State state = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getStatein interfaceRunOrBuilder- Returns:
- The state.
-
setState
Required. The state of the run.
.google.cloud.datacatalog.lineage.v1.Run.State state = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Required. The state of the run.
.google.cloud.datacatalog.lineage.v1.Run.State state = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-