Class EntryGroup.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EntryGroup.Builder>
com.google.cloud.datacatalog.v1beta1.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.GeneratedMessage.Builder<EntryGroup.Builder> implements EntryGroupOrBuilder
 EntryGroup Metadata.
 An EntryGroup resource represents a logical grouping of zero or more
 Data Catalog [Entry][google.cloud.datacatalog.v1beta1.Entry] resources.
 
Protobuf type google.cloud.datacatalog.v1beta1.EntryGroup
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public EntryGroup.Builder mergeFrom(EntryGroup other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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()
       Identifier. The resource name of the entry group in URL format. Example:
      
       * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      
       Note that this EntryGroup and its child resources may not actually be
       stored in the location in this name.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface EntryGroupOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the entry group in URL format. Example:
      
       * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      
       Note that this EntryGroup and its child resources may not actually be
       stored in the location in this name.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface EntryGroupOrBuilder
      Returns:
      The bytes for name.
    • setName

      public EntryGroup.Builder setName(String value)
       Identifier. The resource name of the entry group in URL format. Example:
      
       * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      
       Note that this EntryGroup and its child resources may not actually be
       stored in the location in this name.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public EntryGroup.Builder clearName()
       Identifier. The resource name of the entry group in URL format. Example:
      
       * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      
       Note that this EntryGroup and its child resources may not actually be
       stored in the location in this name.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public EntryGroup.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The resource name of the entry group in URL format. Example:
      
       * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      
       Note that this EntryGroup and its child resources may not actually be
       stored in the location in this name.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      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, which can consist of several sentences or
       paragraphs that describe 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, which can consist of several sentences or
       paragraphs that describe 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, which can consist of several sentences or
       paragraphs that describe 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, which can consist of several sentences or
       paragraphs that describe 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, which can consist of several sentences or
       paragraphs that describe 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 about this EntryGroup. Default value is empty
       timestamps.
       
      .google.cloud.datacatalog.v1beta1.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 about this EntryGroup. Default value is empty
       timestamps.
       
      .google.cloud.datacatalog.v1beta1.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 about this EntryGroup. Default value is empty
       timestamps.
       
      .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setDataCatalogTimestamps

      public EntryGroup.Builder setDataCatalogTimestamps(SystemTimestamps.Builder builderForValue)
       Output only. Timestamps about this EntryGroup. Default value is empty
       timestamps.
       
      .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeDataCatalogTimestamps

      public EntryGroup.Builder mergeDataCatalogTimestamps(SystemTimestamps value)
       Output only. Timestamps about this EntryGroup. Default value is empty
       timestamps.
       
      .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearDataCatalogTimestamps

      public EntryGroup.Builder clearDataCatalogTimestamps()
       Output only. Timestamps about this EntryGroup. Default value is empty
       timestamps.
       
      .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDataCatalogTimestampsBuilder

      public SystemTimestamps.Builder getDataCatalogTimestampsBuilder()
       Output only. Timestamps about this EntryGroup. Default value is empty
       timestamps.
       
      .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDataCatalogTimestampsOrBuilder

      public SystemTimestampsOrBuilder getDataCatalogTimestampsOrBuilder()
       Output only. Timestamps about this EntryGroup. Default value is empty
       timestamps.
       
      .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDataCatalogTimestampsOrBuilder in interface EntryGroupOrBuilder