Class ProcessLinks.Builder

  • All Implemented Interfaces:
    ProcessLinksOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ProcessLinks

    public static final class ProcessLinks.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ProcessLinks.Builder>
    implements ProcessLinksOrBuilder
     Links associated with a specific process.
     
    Protobuf type google.cloud.datacatalog.lineage.v1.ProcessLinks
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessLinks.Builder>
      • clear

        public ProcessLinks.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessLinks.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessLinks.Builder>
      • getDefaultInstanceForType

        public ProcessLinks getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ProcessLinks build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ProcessLinks buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ProcessLinks.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessLinks.Builder>
      • setField

        public ProcessLinks.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessLinks.Builder>
      • clearField

        public ProcessLinks.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessLinks.Builder>
      • clearOneof

        public ProcessLinks.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessLinks.Builder>
      • setRepeatedField

        public ProcessLinks.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     int index,
                                                     Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessLinks.Builder>
      • addRepeatedField

        public ProcessLinks.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessLinks.Builder>
      • mergeFrom

        public ProcessLinks.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProcessLinks.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessLinks.Builder>
      • mergeFrom

        public ProcessLinks.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProcessLinks.Builder>
        Throws:
        IOException
      • getProcess

        public String getProcess()
         The process name in the format of
         `projects/{project}/locations/{location}/processes/{process}`.
         
        string process = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        getProcess in interface ProcessLinksOrBuilder
        Returns:
        The process.
      • getProcessBytes

        public com.google.protobuf.ByteString getProcessBytes()
         The process name in the format of
         `projects/{project}/locations/{location}/processes/{process}`.
         
        string process = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        getProcessBytes in interface ProcessLinksOrBuilder
        Returns:
        The bytes for process.
      • setProcess

        public ProcessLinks.Builder setProcess​(String value)
         The process name in the format of
         `projects/{project}/locations/{location}/processes/{process}`.
         
        string process = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The process to set.
        Returns:
        This builder for chaining.
      • clearProcess

        public ProcessLinks.Builder clearProcess()
         The process name in the format of
         `projects/{project}/locations/{location}/processes/{process}`.
         
        string process = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setProcessBytes

        public ProcessLinks.Builder setProcessBytes​(com.google.protobuf.ByteString value)
         The process name in the format of
         `projects/{project}/locations/{location}/processes/{process}`.
         
        string process = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for process to set.
        Returns:
        This builder for chaining.
      • getLinksList

        public List<ProcessLinkInfo> getLinksList()
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
        Specified by:
        getLinksList in interface ProcessLinksOrBuilder
      • getLinksCount

        public int getLinksCount()
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
        Specified by:
        getLinksCount in interface ProcessLinksOrBuilder
      • getLinks

        public ProcessLinkInfo getLinks​(int index)
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
        Specified by:
        getLinks in interface ProcessLinksOrBuilder
      • setLinks

        public ProcessLinks.Builder setLinks​(int index,
                                             ProcessLinkInfo value)
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
      • setLinks

        public ProcessLinks.Builder setLinks​(int index,
                                             ProcessLinkInfo.Builder builderForValue)
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
      • addLinks

        public ProcessLinks.Builder addLinks​(ProcessLinkInfo value)
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
      • addLinks

        public ProcessLinks.Builder addLinks​(int index,
                                             ProcessLinkInfo value)
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
      • addLinks

        public ProcessLinks.Builder addLinks​(ProcessLinkInfo.Builder builderForValue)
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
      • addLinks

        public ProcessLinks.Builder addLinks​(int index,
                                             ProcessLinkInfo.Builder builderForValue)
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
      • addAllLinks

        public ProcessLinks.Builder addAllLinks​(Iterable<? extends ProcessLinkInfo> values)
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
      • clearLinks

        public ProcessLinks.Builder clearLinks()
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
      • removeLinks

        public ProcessLinks.Builder removeLinks​(int index)
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
      • getLinksBuilder

        public ProcessLinkInfo.Builder getLinksBuilder​(int index)
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
      • getLinksOrBuilder

        public ProcessLinkInfoOrBuilder getLinksOrBuilder​(int index)
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
        Specified by:
        getLinksOrBuilder in interface ProcessLinksOrBuilder
      • getLinksOrBuilderList

        public List<? extends ProcessLinkInfoOrBuilder> getLinksOrBuilderList()
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
        Specified by:
        getLinksOrBuilderList in interface ProcessLinksOrBuilder
      • addLinksBuilder

        public ProcessLinkInfo.Builder addLinksBuilder()
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
      • addLinksBuilder

        public ProcessLinkInfo.Builder addLinksBuilder​(int index)
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
      • getLinksBuilderList

        public List<ProcessLinkInfo.Builder> getLinksBuilderList()
         An array containing link details objects of the links provided in
         the original request.
        
         A single process can result in creating multiple links.
         If any of the links you provide in the request are created by
         the same process, they all are included in this array.
         
        repeated .google.cloud.datacatalog.lineage.v1.ProcessLinkInfo links = 2;
      • setUnknownFields

        public final ProcessLinks.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessLinks.Builder>
      • mergeUnknownFields

        public final ProcessLinks.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessLinks.Builder>