Class DiscoveryEvent.Builder

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

    public static final class DiscoveryEvent.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<DiscoveryEvent.Builder>
    implements DiscoveryEventOrBuilder
     The payload associated with Discovery data processing.
     
    Protobuf type google.cloud.dataplex.v1.DiscoveryEvent
    • 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<DiscoveryEvent.Builder>
      • clear

        public DiscoveryEvent.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<DiscoveryEvent.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<DiscoveryEvent.Builder>
      • getDefaultInstanceForType

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

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

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

        public DiscoveryEvent.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<DiscoveryEvent.Builder>
      • setField

        public DiscoveryEvent.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<DiscoveryEvent.Builder>
      • clearField

        public DiscoveryEvent.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<DiscoveryEvent.Builder>
      • clearOneof

        public DiscoveryEvent.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<DiscoveryEvent.Builder>
      • setRepeatedField

        public DiscoveryEvent.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<DiscoveryEvent.Builder>
      • addRepeatedField

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

        public DiscoveryEvent.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<DiscoveryEvent.Builder>
      • isInitialized

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

        public DiscoveryEvent.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<DiscoveryEvent.Builder>
        Throws:
        IOException
      • getMessageBytes

        public com.google.protobuf.ByteString getMessageBytes()
         The log message.
         
        string message = 1;
        Specified by:
        getMessageBytes in interface DiscoveryEventOrBuilder
        Returns:
        The bytes for message.
      • setMessage

        public DiscoveryEvent.Builder setMessage​(String value)
         The log message.
         
        string message = 1;
        Parameters:
        value - The message to set.
        Returns:
        This builder for chaining.
      • clearMessage

        public DiscoveryEvent.Builder clearMessage()
         The log message.
         
        string message = 1;
        Returns:
        This builder for chaining.
      • setMessageBytes

        public DiscoveryEvent.Builder setMessageBytes​(com.google.protobuf.ByteString value)
         The log message.
         
        string message = 1;
        Parameters:
        value - The bytes for message to set.
        Returns:
        This builder for chaining.
      • getLakeIdBytes

        public com.google.protobuf.ByteString getLakeIdBytes()
         The id of the associated lake.
         
        string lake_id = 2;
        Specified by:
        getLakeIdBytes in interface DiscoveryEventOrBuilder
        Returns:
        The bytes for lakeId.
      • setLakeId

        public DiscoveryEvent.Builder setLakeId​(String value)
         The id of the associated lake.
         
        string lake_id = 2;
        Parameters:
        value - The lakeId to set.
        Returns:
        This builder for chaining.
      • clearLakeId

        public DiscoveryEvent.Builder clearLakeId()
         The id of the associated lake.
         
        string lake_id = 2;
        Returns:
        This builder for chaining.
      • setLakeIdBytes

        public DiscoveryEvent.Builder setLakeIdBytes​(com.google.protobuf.ByteString value)
         The id of the associated lake.
         
        string lake_id = 2;
        Parameters:
        value - The bytes for lakeId to set.
        Returns:
        This builder for chaining.
      • getZoneIdBytes

        public com.google.protobuf.ByteString getZoneIdBytes()
         The id of the associated zone.
         
        string zone_id = 3;
        Specified by:
        getZoneIdBytes in interface DiscoveryEventOrBuilder
        Returns:
        The bytes for zoneId.
      • setZoneId

        public DiscoveryEvent.Builder setZoneId​(String value)
         The id of the associated zone.
         
        string zone_id = 3;
        Parameters:
        value - The zoneId to set.
        Returns:
        This builder for chaining.
      • clearZoneId

        public DiscoveryEvent.Builder clearZoneId()
         The id of the associated zone.
         
        string zone_id = 3;
        Returns:
        This builder for chaining.
      • setZoneIdBytes

        public DiscoveryEvent.Builder setZoneIdBytes​(com.google.protobuf.ByteString value)
         The id of the associated zone.
         
        string zone_id = 3;
        Parameters:
        value - The bytes for zoneId to set.
        Returns:
        This builder for chaining.
      • getAssetIdBytes

        public com.google.protobuf.ByteString getAssetIdBytes()
         The id of the associated asset.
         
        string asset_id = 4;
        Specified by:
        getAssetIdBytes in interface DiscoveryEventOrBuilder
        Returns:
        The bytes for assetId.
      • setAssetId

        public DiscoveryEvent.Builder setAssetId​(String value)
         The id of the associated asset.
         
        string asset_id = 4;
        Parameters:
        value - The assetId to set.
        Returns:
        This builder for chaining.
      • clearAssetId

        public DiscoveryEvent.Builder clearAssetId()
         The id of the associated asset.
         
        string asset_id = 4;
        Returns:
        This builder for chaining.
      • setAssetIdBytes

        public DiscoveryEvent.Builder setAssetIdBytes​(com.google.protobuf.ByteString value)
         The id of the associated asset.
         
        string asset_id = 4;
        Parameters:
        value - The bytes for assetId to set.
        Returns:
        This builder for chaining.
      • getDataLocationBytes

        public com.google.protobuf.ByteString getDataLocationBytes()
         The data location associated with the event.
         
        string data_location = 5;
        Specified by:
        getDataLocationBytes in interface DiscoveryEventOrBuilder
        Returns:
        The bytes for dataLocation.
      • setDataLocation

        public DiscoveryEvent.Builder setDataLocation​(String value)
         The data location associated with the event.
         
        string data_location = 5;
        Parameters:
        value - The dataLocation to set.
        Returns:
        This builder for chaining.
      • clearDataLocation

        public DiscoveryEvent.Builder clearDataLocation()
         The data location associated with the event.
         
        string data_location = 5;
        Returns:
        This builder for chaining.
      • setDataLocationBytes

        public DiscoveryEvent.Builder setDataLocationBytes​(com.google.protobuf.ByteString value)
         The data location associated with the event.
         
        string data_location = 5;
        Parameters:
        value - The bytes for dataLocation to set.
        Returns:
        This builder for chaining.
      • getTypeValue

        public int getTypeValue()
         The type of the event being logged.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10;
        Specified by:
        getTypeValue in interface DiscoveryEventOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public DiscoveryEvent.Builder setTypeValue​(int value)
         The type of the event being logged.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10;
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • setType

        public DiscoveryEvent.Builder setType​(DiscoveryEvent.EventType value)
         The type of the event being logged.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public DiscoveryEvent.Builder clearType()
         The type of the event being logged.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10;
        Returns:
        This builder for chaining.
      • hasConfig

        public boolean hasConfig()
         Details about discovery configuration in effect.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20;
        Specified by:
        hasConfig in interface DiscoveryEventOrBuilder
        Returns:
        Whether the config field is set.
      • clearConfig

        public DiscoveryEvent.Builder clearConfig()
         Details about discovery configuration in effect.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20;
      • getConfigBuilder

        public DiscoveryEvent.ConfigDetails.Builder getConfigBuilder()
         Details about discovery configuration in effect.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20;
      • hasEntity

        public boolean hasEntity()
         Details about the entity associated with the event.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;
        Specified by:
        hasEntity in interface DiscoveryEventOrBuilder
        Returns:
        Whether the entity field is set.
      • clearEntity

        public DiscoveryEvent.Builder clearEntity()
         Details about the entity associated with the event.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;
      • getEntityBuilder

        public DiscoveryEvent.EntityDetails.Builder getEntityBuilder()
         Details about the entity associated with the event.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;
      • hasPartition

        public boolean hasPartition()
         Details about the partition associated with the event.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;
        Specified by:
        hasPartition in interface DiscoveryEventOrBuilder
        Returns:
        Whether the partition field is set.
      • clearPartition

        public DiscoveryEvent.Builder clearPartition()
         Details about the partition associated with the event.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;
      • getPartitionBuilder

        public DiscoveryEvent.PartitionDetails.Builder getPartitionBuilder()
         Details about the partition associated with the event.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;
      • hasAction

        public boolean hasAction()
         Details about the action associated with the event.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;
        Specified by:
        hasAction in interface DiscoveryEventOrBuilder
        Returns:
        Whether the action field is set.
      • clearAction

        public DiscoveryEvent.Builder clearAction()
         Details about the action associated with the event.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;
      • getActionBuilder

        public DiscoveryEvent.ActionDetails.Builder getActionBuilder()
         Details about the action associated with the event.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;
      • setUnknownFields

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

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