Class DiscoveryEvent.EntityDetails.Builder

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

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

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

        public DiscoveryEvent.EntityDetails buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.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.EntityDetails.Builder>
      • mergeFrom

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

        public com.google.protobuf.ByteString getEntityBytes()
         The name of the entity resource.
         The name is the fully-qualified resource name.
         
        string entity = 1;
        Specified by:
        getEntityBytes in interface DiscoveryEvent.EntityDetailsOrBuilder
        Returns:
        The bytes for entity.
      • setEntity

        public DiscoveryEvent.EntityDetails.Builder setEntity​(String value)
         The name of the entity resource.
         The name is the fully-qualified resource name.
         
        string entity = 1;
        Parameters:
        value - The entity to set.
        Returns:
        This builder for chaining.
      • clearEntity

        public DiscoveryEvent.EntityDetails.Builder clearEntity()
         The name of the entity resource.
         The name is the fully-qualified resource name.
         
        string entity = 1;
        Returns:
        This builder for chaining.
      • setEntityBytes

        public DiscoveryEvent.EntityDetails.Builder setEntityBytes​(com.google.protobuf.ByteString value)
         The name of the entity resource.
         The name is the fully-qualified resource name.
         
        string entity = 1;
        Parameters:
        value - The bytes for entity to set.
        Returns:
        This builder for chaining.
      • getTypeValue

        public int getTypeValue()
         The type of the entity resource.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2;
        Specified by:
        getTypeValue in interface DiscoveryEvent.EntityDetailsOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public DiscoveryEvent.EntityDetails.Builder setTypeValue​(int value)
         The type of the entity resource.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2;
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • clearType

        public DiscoveryEvent.EntityDetails.Builder clearType()
         The type of the entity resource.
         
        .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2;
        Returns:
        This builder for chaining.