Class EntryGroup.Builder

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

    public static final class EntryGroup.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<EntryGroup.Builder>
    implements EntryGroupOrBuilder
     Entry group metadata.
    
     An `EntryGroup` resource represents a logical grouping of zero or more
     Data Catalog [Entry][google.cloud.datacatalog.v1.Entry] resources.
     
    Protobuf type google.cloud.datacatalog.v1.EntryGroup
    • 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<EntryGroup.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

        public EntryGroup.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<EntryGroup.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         The resource name of the entry group in URL format.
        
         Note: The entry group itself and its child resources might not be
         stored in the location specified in its name.
         
        string name = 1;
        Specified by:
        getName in interface EntryGroupOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The resource name of the entry group in URL format.
        
         Note: The entry group itself and its child resources might not be
         stored in the location specified in its name.
         
        string name = 1;
        Specified by:
        getNameBytes in interface EntryGroupOrBuilder
        Returns:
        The bytes for name.
      • setName

        public EntryGroup.Builder setName​(String value)
         The resource name of the entry group in URL format.
        
         Note: The entry group itself and its child resources might not be
         stored in the location specified in its name.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public EntryGroup.Builder clearName()
         The resource name of the entry group in URL format.
        
         Note: The entry group itself and its child resources might not be
         stored in the location specified in its name.
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public EntryGroup.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The resource name of the entry group in URL format.
        
         Note: The entry group itself and its child resources might not be
         stored in the location specified in its name.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getDisplayName

        public String getDisplayName()
         A short name to identify the entry group, for example,
         "analytics data - jan 2011". Default value is an empty string.
         
        string display_name = 2;
        Specified by:
        getDisplayName in interface EntryGroupOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         A short name to identify the entry group, for example,
         "analytics data - jan 2011". Default value is an empty string.
         
        string display_name = 2;
        Specified by:
        getDisplayNameBytes in interface EntryGroupOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public EntryGroup.Builder setDisplayName​(String value)
         A short name to identify the entry group, for example,
         "analytics data - jan 2011". Default value is an empty string.
         
        string display_name = 2;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public EntryGroup.Builder clearDisplayName()
         A short name to identify the entry group, for example,
         "analytics data - jan 2011". Default value is an empty string.
         
        string display_name = 2;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public EntryGroup.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         A short name to identify the entry group, for example,
         "analytics data - jan 2011". Default value is an empty string.
         
        string display_name = 2;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getDescription

        public String getDescription()
         Entry group description. Can consist of several sentences or
         paragraphs that describe the entry group contents.
         Default value is an empty string.
         
        string description = 3;
        Specified by:
        getDescription in interface EntryGroupOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Entry group description. Can consist of several sentences or
         paragraphs that describe the entry group contents.
         Default value is an empty string.
         
        string description = 3;
        Specified by:
        getDescriptionBytes in interface EntryGroupOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public EntryGroup.Builder setDescription​(String value)
         Entry group description. Can consist of several sentences or
         paragraphs that describe the entry group contents.
         Default value is an empty string.
         
        string description = 3;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public EntryGroup.Builder clearDescription()
         Entry group description. Can consist of several sentences or
         paragraphs that describe the entry group contents.
         Default value is an empty string.
         
        string description = 3;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public EntryGroup.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         Entry group description. Can consist of several sentences or
         paragraphs that describe the entry group contents.
         Default value is an empty string.
         
        string description = 3;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • hasDataCatalogTimestamps

        public boolean hasDataCatalogTimestamps()
         Output only. Timestamps of the entry group. Default value is empty.
         
        .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasDataCatalogTimestamps in interface EntryGroupOrBuilder
        Returns:
        Whether the dataCatalogTimestamps field is set.
      • getDataCatalogTimestamps

        public SystemTimestamps getDataCatalogTimestamps()
         Output only. Timestamps of the entry group. Default value is empty.
         
        .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDataCatalogTimestamps in interface EntryGroupOrBuilder
        Returns:
        The dataCatalogTimestamps.
      • setDataCatalogTimestamps

        public EntryGroup.Builder setDataCatalogTimestamps​(SystemTimestamps value)
         Output only. Timestamps of the entry group. Default value is empty.
         
        .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setDataCatalogTimestamps

        public EntryGroup.Builder setDataCatalogTimestamps​(SystemTimestamps.Builder builderForValue)
         Output only. Timestamps of the entry group. Default value is empty.
         
        .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeDataCatalogTimestamps

        public EntryGroup.Builder mergeDataCatalogTimestamps​(SystemTimestamps value)
         Output only. Timestamps of the entry group. Default value is empty.
         
        .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearDataCatalogTimestamps

        public EntryGroup.Builder clearDataCatalogTimestamps()
         Output only. Timestamps of the entry group. Default value is empty.
         
        .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getDataCatalogTimestampsBuilder

        public SystemTimestamps.Builder getDataCatalogTimestampsBuilder()
         Output only. Timestamps of the entry group. Default value is empty.
         
        .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUnknownFields

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

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