Class DatabaseResourceGroup.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DatabaseResourceGroup.Builder>
com.google.cloud.databasecenter.v1beta.DatabaseResourceGroup.Builder
All Implemented Interfaces:
DatabaseResourceGroupOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DatabaseResourceGroup

public static final class DatabaseResourceGroup.Builder extends com.google.protobuf.GeneratedMessage.Builder<DatabaseResourceGroup.Builder> implements DatabaseResourceGroupOrBuilder
 DatabaseResourceGroup represents all resources that serve a common data set.
 It is considered notionally as a single entity, powered by any number of
 units of compute and storage.
 
Protobuf type google.cloud.databasecenter.v1beta.DatabaseResourceGroup
  • 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<DatabaseResourceGroup.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<DatabaseResourceGroup.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<DatabaseResourceGroup.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public DatabaseResourceGroup.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<DatabaseResourceGroup.Builder>
      Throws:
      IOException
    • getRootResourcesList

      public List<DatabaseResource> getRootResourcesList()
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
      Specified by:
      getRootResourcesList in interface DatabaseResourceGroupOrBuilder
    • getRootResourcesCount

      public int getRootResourcesCount()
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
      Specified by:
      getRootResourcesCount in interface DatabaseResourceGroupOrBuilder
    • getRootResources

      public DatabaseResource getRootResources(int index)
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
      Specified by:
      getRootResources in interface DatabaseResourceGroupOrBuilder
    • setRootResources

      public DatabaseResourceGroup.Builder setRootResources(int index, DatabaseResource value)
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
    • setRootResources

      public DatabaseResourceGroup.Builder setRootResources(int index, DatabaseResource.Builder builderForValue)
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
    • addRootResources

      public DatabaseResourceGroup.Builder addRootResources(DatabaseResource value)
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
    • addRootResources

      public DatabaseResourceGroup.Builder addRootResources(int index, DatabaseResource value)
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
    • addRootResources

      public DatabaseResourceGroup.Builder addRootResources(DatabaseResource.Builder builderForValue)
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
    • addRootResources

      public DatabaseResourceGroup.Builder addRootResources(int index, DatabaseResource.Builder builderForValue)
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
    • addAllRootResources

      public DatabaseResourceGroup.Builder addAllRootResources(Iterable<? extends DatabaseResource> values)
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
    • clearRootResources

      public DatabaseResourceGroup.Builder clearRootResources()
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
    • removeRootResources

      public DatabaseResourceGroup.Builder removeRootResources(int index)
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
    • getRootResourcesBuilder

      public DatabaseResource.Builder getRootResourcesBuilder(int index)
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
    • getRootResourcesOrBuilder

      public DatabaseResourceOrBuilder getRootResourcesOrBuilder(int index)
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
      Specified by:
      getRootResourcesOrBuilder in interface DatabaseResourceGroupOrBuilder
    • getRootResourcesOrBuilderList

      public List<? extends DatabaseResourceOrBuilder> getRootResourcesOrBuilderList()
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
      Specified by:
      getRootResourcesOrBuilderList in interface DatabaseResourceGroupOrBuilder
    • addRootResourcesBuilder

      public DatabaseResource.Builder addRootResourcesBuilder()
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
    • addRootResourcesBuilder

      public DatabaseResource.Builder addRootResourcesBuilder(int index)
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
    • getRootResourcesBuilderList

      public List<DatabaseResource.Builder> getRootResourcesBuilderList()
       A database resource that serves as a root of the group of database
       resources. It is repeated just in case we have the concept of multiple
       roots in the future, however, it will only be populated with a single value
       for now.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;
    • getSignalGroupsList

      public List<IssueCount> getSignalGroupsList()
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;
      Specified by:
      getSignalGroupsList in interface DatabaseResourceGroupOrBuilder
    • getSignalGroupsCount

      public int getSignalGroupsCount()
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;
      Specified by:
      getSignalGroupsCount in interface DatabaseResourceGroupOrBuilder
    • getSignalGroups

      public IssueCount getSignalGroups(int index)
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;
      Specified by:
      getSignalGroups in interface DatabaseResourceGroupOrBuilder
    • setSignalGroups

      public DatabaseResourceGroup.Builder setSignalGroups(int index, IssueCount value)
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;
    • setSignalGroups

      public DatabaseResourceGroup.Builder setSignalGroups(int index, IssueCount.Builder builderForValue)
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;
    • addSignalGroups

      public DatabaseResourceGroup.Builder addSignalGroups(IssueCount value)
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;
    • addSignalGroups

      public DatabaseResourceGroup.Builder addSignalGroups(int index, IssueCount value)
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;
    • addSignalGroups

      public DatabaseResourceGroup.Builder addSignalGroups(IssueCount.Builder builderForValue)
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;
    • addSignalGroups

      public DatabaseResourceGroup.Builder addSignalGroups(int index, IssueCount.Builder builderForValue)
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;
    • addAllSignalGroups

      public DatabaseResourceGroup.Builder addAllSignalGroups(Iterable<? extends IssueCount> values)
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;
    • clearSignalGroups

      public DatabaseResourceGroup.Builder clearSignalGroups()
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;
    • removeSignalGroups

      public DatabaseResourceGroup.Builder removeSignalGroups(int index)
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;
    • getSignalGroupsBuilder

      public IssueCount.Builder getSignalGroupsBuilder(int index)
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;
    • getSignalGroupsOrBuilder

      public IssueCountOrBuilder getSignalGroupsOrBuilder(int index)
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;
      Specified by:
      getSignalGroupsOrBuilder in interface DatabaseResourceGroupOrBuilder
    • getSignalGroupsOrBuilderList

      public List<? extends IssueCountOrBuilder> getSignalGroupsOrBuilderList()
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;
      Specified by:
      getSignalGroupsOrBuilderList in interface DatabaseResourceGroupOrBuilder
    • addSignalGroupsBuilder

      public IssueCount.Builder addSignalGroupsBuilder()
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;
    • addSignalGroupsBuilder

      public IssueCount.Builder addSignalGroupsBuilder(int index)
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;
    • getSignalGroupsBuilderList

      public List<IssueCount.Builder> getSignalGroupsBuilderList()
       The filtered signal groups and the count of issues associated with the
       resources that have been filtered in.
       
      repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;