public static final class Origin.Builder extends GeneratedMessageV3.Builder<Origin.Builder> implements OriginOrBuilder
Origin of a process.
Protobuf type google.cloud.datacatalog.lineage.v1.Origin
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Origin.BuilderImplements
OriginOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Origin.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Origin.Builder |
build()
public Origin build()
Type | Description |
Origin |
buildPartial()
public Origin buildPartial()
Type | Description |
Origin |
clear()
public Origin.Builder clear()
Type | Description |
Origin.Builder |
clearField(Descriptors.FieldDescriptor field)
public Origin.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Origin.Builder |
clearName()
public Origin.Builder clearName()
If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage. The project and location parts of the resource name must match the project and location of the lineage resource being created. Examples:
- {source_type: COMPOSER, name: "projects/foo/locations/us/environments/bar"}
- {source_type: BIGQUERY, name: "projects/foo/locations/eu"}
- {source_type: CUSTOM, name: "myCustomIntegration"}
string name = 2;
Type | Description |
Origin.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Origin.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Origin.Builder |
clearSourceType()
public Origin.Builder clearSourceType()
Type of the source.
.google.cloud.datacatalog.lineage.v1.Origin.SourceType source_type = 1;
Type | Description |
Origin.Builder | This builder for chaining. |
clone()
public Origin.Builder clone()
Type | Description |
Origin.Builder |
getDefaultInstanceForType()
public Origin getDefaultInstanceForType()
Type | Description |
Origin |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage. The project and location parts of the resource name must match the project and location of the lineage resource being created. Examples:
- {source_type: COMPOSER, name: "projects/foo/locations/us/environments/bar"}
- {source_type: BIGQUERY, name: "projects/foo/locations/eu"}
- {source_type: CUSTOM, name: "myCustomIntegration"}
string name = 2;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage. The project and location parts of the resource name must match the project and location of the lineage resource being created. Examples:
- {source_type: COMPOSER, name: "projects/foo/locations/us/environments/bar"}
- {source_type: BIGQUERY, name: "projects/foo/locations/eu"}
- {source_type: CUSTOM, name: "myCustomIntegration"}
string name = 2;
Type | Description |
ByteString | The bytes for name. |
getSourceType()
public Origin.SourceType getSourceType()
Type of the source.
.google.cloud.datacatalog.lineage.v1.Origin.SourceType source_type = 1;
Type | Description |
Origin.SourceType | The sourceType. |
getSourceTypeValue()
public int getSourceTypeValue()
Type of the source.
.google.cloud.datacatalog.lineage.v1.Origin.SourceType source_type = 1;
Type | Description |
int | The enum numeric value on the wire for sourceType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Origin other)
public Origin.Builder mergeFrom(Origin other)
Name | Description |
other | Origin |
Type | Description |
Origin.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Origin.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Origin.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Origin.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Origin.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Origin.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Origin.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Origin.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Origin.Builder |
setName(String value)
public Origin.Builder setName(String value)
If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage. The project and location parts of the resource name must match the project and location of the lineage resource being created. Examples:
- {source_type: COMPOSER, name: "projects/foo/locations/us/environments/bar"}
- {source_type: BIGQUERY, name: "projects/foo/locations/eu"}
- {source_type: CUSTOM, name: "myCustomIntegration"}
string name = 2;
Name | Description |
value | String The name to set. |
Type | Description |
Origin.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Origin.Builder setNameBytes(ByteString value)
If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage. The project and location parts of the resource name must match the project and location of the lineage resource being created. Examples:
- {source_type: COMPOSER, name: "projects/foo/locations/us/environments/bar"}
- {source_type: BIGQUERY, name: "projects/foo/locations/eu"}
- {source_type: CUSTOM, name: "myCustomIntegration"}
string name = 2;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Origin.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Origin.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Origin.Builder |
setSourceType(Origin.SourceType value)
public Origin.Builder setSourceType(Origin.SourceType value)
Type of the source.
.google.cloud.datacatalog.lineage.v1.Origin.SourceType source_type = 1;
Name | Description |
value | Origin.SourceType The sourceType to set. |
Type | Description |
Origin.Builder | This builder for chaining. |
setSourceTypeValue(int value)
public Origin.Builder setSourceTypeValue(int value)
Type of the source.
.google.cloud.datacatalog.lineage.v1.Origin.SourceType source_type = 1;
Name | Description |
value | int The enum numeric value on the wire for sourceType to set. |
Type | Description |
Origin.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Origin.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Origin.Builder |