Class SignalGroup.Builder

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

public static final class SignalGroup.Builder extends com.google.protobuf.GeneratedMessage.Builder<SignalGroup.Builder> implements SignalGroupOrBuilder
 A group of signals and their counts.
 
Protobuf type google.cloud.databasecenter.v1beta.SignalGroup
  • 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<SignalGroup.Builder>
    • clear

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

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

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

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

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

      public SignalGroup.Builder mergeFrom(SignalGroup other)
    • isInitialized

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

      public SignalGroup.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<SignalGroup.Builder>
      Throws:
      IOException
    • getDisplayName

      public String getDisplayName()
       Title of a signal group corresponding to the request.
       
      string display_name = 1;
      Specified by:
      getDisplayName in interface SignalGroupOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Title of a signal group corresponding to the request.
       
      string display_name = 1;
      Specified by:
      getDisplayNameBytes in interface SignalGroupOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public SignalGroup.Builder setDisplayName(String value)
       Title of a signal group corresponding to the request.
       
      string display_name = 1;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public SignalGroup.Builder clearDisplayName()
       Title of a signal group corresponding to the request.
       
      string display_name = 1;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public SignalGroup.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Title of a signal group corresponding to the request.
       
      string display_name = 1;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getIssueCount

      public int getIssueCount()
       When applied to a DatabaseResource represents count of issues associated
       with the resource. A signal is an issue when its SignalStatus field is
       set to SIGNAL_STATUS_ISSUE.
       
      int32 issue_count = 2;
      Specified by:
      getIssueCount in interface SignalGroupOrBuilder
      Returns:
      The issueCount.
    • setIssueCount

      public SignalGroup.Builder setIssueCount(int value)
       When applied to a DatabaseResource represents count of issues associated
       with the resource. A signal is an issue when its SignalStatus field is
       set to SIGNAL_STATUS_ISSUE.
       
      int32 issue_count = 2;
      Parameters:
      value - The issueCount to set.
      Returns:
      This builder for chaining.
    • clearIssueCount

      public SignalGroup.Builder clearIssueCount()
       When applied to a DatabaseResource represents count of issues associated
       with the resource. A signal is an issue when its SignalStatus field is
       set to SIGNAL_STATUS_ISSUE.
       
      int32 issue_count = 2;
      Returns:
      This builder for chaining.
    • getSignalsList

      public List<Signal> getSignalsList()
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;
      Specified by:
      getSignalsList in interface SignalGroupOrBuilder
    • getSignalsCount

      public int getSignalsCount()
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;
      Specified by:
      getSignalsCount in interface SignalGroupOrBuilder
    • getSignals

      public Signal getSignals(int index)
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;
      Specified by:
      getSignals in interface SignalGroupOrBuilder
    • setSignals

      public SignalGroup.Builder setSignals(int index, Signal value)
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;
    • setSignals

      public SignalGroup.Builder setSignals(int index, Signal.Builder builderForValue)
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;
    • addSignals

      public SignalGroup.Builder addSignals(Signal value)
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;
    • addSignals

      public SignalGroup.Builder addSignals(int index, Signal value)
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;
    • addSignals

      public SignalGroup.Builder addSignals(Signal.Builder builderForValue)
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;
    • addSignals

      public SignalGroup.Builder addSignals(int index, Signal.Builder builderForValue)
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;
    • addAllSignals

      public SignalGroup.Builder addAllSignals(Iterable<? extends Signal> values)
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;
    • clearSignals

      public SignalGroup.Builder clearSignals()
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;
    • removeSignals

      public SignalGroup.Builder removeSignals(int index)
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;
    • getSignalsBuilder

      public Signal.Builder getSignalsBuilder(int index)
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;
    • getSignalsOrBuilder

      public SignalOrBuilder getSignalsOrBuilder(int index)
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;
      Specified by:
      getSignalsOrBuilder in interface SignalGroupOrBuilder
    • getSignalsOrBuilderList

      public List<? extends SignalOrBuilder> getSignalsOrBuilderList()
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;
      Specified by:
      getSignalsOrBuilderList in interface SignalGroupOrBuilder
    • addSignalsBuilder

      public Signal.Builder addSignalsBuilder()
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;
    • addSignalsBuilder

      public Signal.Builder addSignalsBuilder(int index)
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;
    • getSignalsBuilderList

      public List<Signal.Builder> getSignalsBuilderList()
       List of signals present in the group and associated with the resource.
      
       Only applies to a DatabaseResource.
       
      repeated .google.cloud.databasecenter.v1beta.Signal signals = 3;