Class ExtractionPipeline.Contact.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ExtractionPipeline.Contact.Builder>
com.cognite.client.dto.ExtractionPipeline.Contact.Builder
All Implemented Interfaces:
ExtractionPipeline.ContactOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ExtractionPipeline.Contact

public static final class ExtractionPipeline.Contact.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExtractionPipeline.Contact.Builder> implements ExtractionPipeline.ContactOrBuilder
Protobuf type com.cognite.client.dto.ExtractionPipeline.Contact
  • Method Details

    • 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<ExtractionPipeline.Contact.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<ExtractionPipeline.Contact.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<ExtractionPipeline.Contact.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ExtractionPipeline.Contact buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ExtractionPipeline.Contact.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<ExtractionPipeline.Contact.Builder>
    • mergeFrom

    • isInitialized

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

      public ExtractionPipeline.Contact.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<ExtractionPipeline.Contact.Builder>
      Throws:
      IOException
    • hasName

      public boolean hasName()
      optional string name = 1;
      Specified by:
      hasName in interface ExtractionPipeline.ContactOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
      optional string name = 1;
      Specified by:
      getName in interface ExtractionPipeline.ContactOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      optional string name = 1;
      Specified by:
      getNameBytes in interface ExtractionPipeline.ContactOrBuilder
      Returns:
      The bytes for name.
    • setName

      optional string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      optional string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public ExtractionPipeline.Contact.Builder setNameBytes(com.google.protobuf.ByteString value)
      optional string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasEmail

      public boolean hasEmail()
      optional string email = 2;
      Specified by:
      hasEmail in interface ExtractionPipeline.ContactOrBuilder
      Returns:
      Whether the email field is set.
    • getEmail

      public String getEmail()
      optional string email = 2;
      Specified by:
      getEmail in interface ExtractionPipeline.ContactOrBuilder
      Returns:
      The email.
    • getEmailBytes

      public com.google.protobuf.ByteString getEmailBytes()
      optional string email = 2;
      Specified by:
      getEmailBytes in interface ExtractionPipeline.ContactOrBuilder
      Returns:
      The bytes for email.
    • setEmail

      public ExtractionPipeline.Contact.Builder setEmail(String value)
      optional string email = 2;
      Parameters:
      value - The email to set.
      Returns:
      This builder for chaining.
    • clearEmail

      optional string email = 2;
      Returns:
      This builder for chaining.
    • setEmailBytes

      public ExtractionPipeline.Contact.Builder setEmailBytes(com.google.protobuf.ByteString value)
      optional string email = 2;
      Parameters:
      value - The bytes for email to set.
      Returns:
      This builder for chaining.
    • hasRole

      public boolean hasRole()
      optional string role = 3;
      Specified by:
      hasRole in interface ExtractionPipeline.ContactOrBuilder
      Returns:
      Whether the role field is set.
    • getRole

      public String getRole()
      optional string role = 3;
      Specified by:
      getRole in interface ExtractionPipeline.ContactOrBuilder
      Returns:
      The role.
    • getRoleBytes

      public com.google.protobuf.ByteString getRoleBytes()
      optional string role = 3;
      Specified by:
      getRoleBytes in interface ExtractionPipeline.ContactOrBuilder
      Returns:
      The bytes for role.
    • setRole

      optional string role = 3;
      Parameters:
      value - The role to set.
      Returns:
      This builder for chaining.
    • clearRole

      optional string role = 3;
      Returns:
      This builder for chaining.
    • setRoleBytes

      public ExtractionPipeline.Contact.Builder setRoleBytes(com.google.protobuf.ByteString value)
      optional string role = 3;
      Parameters:
      value - The bytes for role to set.
      Returns:
      This builder for chaining.
    • getSendNotification

      public boolean getSendNotification()
      bool send_notification = 4;
      Specified by:
      getSendNotification in interface ExtractionPipeline.ContactOrBuilder
      Returns:
      The sendNotification.
    • setSendNotification

      public ExtractionPipeline.Contact.Builder setSendNotification(boolean value)
      bool send_notification = 4;
      Parameters:
      value - The sendNotification to set.
      Returns:
      This builder for chaining.
    • clearSendNotification

      public ExtractionPipeline.Contact.Builder clearSendNotification()
      bool send_notification = 4;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ExtractionPipeline.Contact.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<ExtractionPipeline.Contact.Builder>
    • mergeUnknownFields

      public final ExtractionPipeline.Contact.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<ExtractionPipeline.Contact.Builder>