Class Signal.Builder

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

public static final class Signal.Builder extends com.google.protobuf.GeneratedMessage.Builder<Signal.Builder> implements SignalOrBuilder
 Represents a signal.
 
Protobuf type google.cloud.databasecenter.v1beta.Signal
  • 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<Signal.Builder>
    • clear

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

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

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

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

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

      public Signal.Builder mergeFrom(Signal other)
    • isInitialized

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

      public Signal.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<Signal.Builder>
      Throws:
      IOException
    • getSignalTypeValue

      public int getSignalTypeValue()
       Type of the signal.
       
      .google.cloud.databasecenter.v1beta.SignalType signal_type = 1;
      Specified by:
      getSignalTypeValue in interface SignalOrBuilder
      Returns:
      The enum numeric value on the wire for signalType.
    • setSignalTypeValue

      public Signal.Builder setSignalTypeValue(int value)
       Type of the signal.
       
      .google.cloud.databasecenter.v1beta.SignalType signal_type = 1;
      Parameters:
      value - The enum numeric value on the wire for signalType to set.
      Returns:
      This builder for chaining.
    • getSignalType

      public SignalType getSignalType()
       Type of the signal.
       
      .google.cloud.databasecenter.v1beta.SignalType signal_type = 1;
      Specified by:
      getSignalType in interface SignalOrBuilder
      Returns:
      The signalType.
    • setSignalType

      public Signal.Builder setSignalType(SignalType value)
       Type of the signal.
       
      .google.cloud.databasecenter.v1beta.SignalType signal_type = 1;
      Parameters:
      value - The signalType to set.
      Returns:
      This builder for chaining.
    • clearSignalType

      public Signal.Builder clearSignalType()
       Type of the signal.
       
      .google.cloud.databasecenter.v1beta.SignalType signal_type = 1;
      Returns:
      This builder for chaining.
    • getSignalStatusValue

      public int getSignalStatusValue()
       Status of the signal.
       
      .google.cloud.databasecenter.v1beta.SignalStatus signal_status = 2;
      Specified by:
      getSignalStatusValue in interface SignalOrBuilder
      Returns:
      The enum numeric value on the wire for signalStatus.
    • setSignalStatusValue

      public Signal.Builder setSignalStatusValue(int value)
       Status of the signal.
       
      .google.cloud.databasecenter.v1beta.SignalStatus signal_status = 2;
      Parameters:
      value - The enum numeric value on the wire for signalStatus to set.
      Returns:
      This builder for chaining.
    • getSignalStatus

      public SignalStatus getSignalStatus()
       Status of the signal.
       
      .google.cloud.databasecenter.v1beta.SignalStatus signal_status = 2;
      Specified by:
      getSignalStatus in interface SignalOrBuilder
      Returns:
      The signalStatus.
    • setSignalStatus

      public Signal.Builder setSignalStatus(SignalStatus value)
       Status of the signal.
       
      .google.cloud.databasecenter.v1beta.SignalStatus signal_status = 2;
      Parameters:
      value - The signalStatus to set.
      Returns:
      This builder for chaining.
    • clearSignalStatus

      public Signal.Builder clearSignalStatus()
       Status of the signal.
       
      .google.cloud.databasecenter.v1beta.SignalStatus signal_status = 2;
      Returns:
      This builder for chaining.
    • getAdditionalDetailsList

      public List<AdditionalDetail> getAdditionalDetailsList()
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
      Specified by:
      getAdditionalDetailsList in interface SignalOrBuilder
    • getAdditionalDetailsCount

      public int getAdditionalDetailsCount()
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
      Specified by:
      getAdditionalDetailsCount in interface SignalOrBuilder
    • getAdditionalDetails

      public AdditionalDetail getAdditionalDetails(int index)
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
      Specified by:
      getAdditionalDetails in interface SignalOrBuilder
    • setAdditionalDetails

      public Signal.Builder setAdditionalDetails(int index, AdditionalDetail value)
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
    • setAdditionalDetails

      public Signal.Builder setAdditionalDetails(int index, AdditionalDetail.Builder builderForValue)
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
    • addAdditionalDetails

      public Signal.Builder addAdditionalDetails(AdditionalDetail value)
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
    • addAdditionalDetails

      public Signal.Builder addAdditionalDetails(int index, AdditionalDetail value)
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
    • addAdditionalDetails

      public Signal.Builder addAdditionalDetails(AdditionalDetail.Builder builderForValue)
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
    • addAdditionalDetails

      public Signal.Builder addAdditionalDetails(int index, AdditionalDetail.Builder builderForValue)
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
    • addAllAdditionalDetails

      public Signal.Builder addAllAdditionalDetails(Iterable<? extends AdditionalDetail> values)
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
    • clearAdditionalDetails

      public Signal.Builder clearAdditionalDetails()
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
    • removeAdditionalDetails

      public Signal.Builder removeAdditionalDetails(int index)
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
    • getAdditionalDetailsBuilder

      public AdditionalDetail.Builder getAdditionalDetailsBuilder(int index)
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
    • getAdditionalDetailsOrBuilder

      public AdditionalDetailOrBuilder getAdditionalDetailsOrBuilder(int index)
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
      Specified by:
      getAdditionalDetailsOrBuilder in interface SignalOrBuilder
    • getAdditionalDetailsOrBuilderList

      public List<? extends AdditionalDetailOrBuilder> getAdditionalDetailsOrBuilderList()
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
      Specified by:
      getAdditionalDetailsOrBuilderList in interface SignalOrBuilder
    • addAdditionalDetailsBuilder

      public AdditionalDetail.Builder addAdditionalDetailsBuilder()
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
    • addAdditionalDetailsBuilder

      public AdditionalDetail.Builder addAdditionalDetailsBuilder(int index)
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
    • getAdditionalDetailsBuilderList

      public List<AdditionalDetail.Builder> getAdditionalDetailsBuilderList()
       Additional information related to the signal.
       In the case of composite signals, this field encapsulates details
       associated with granular signals, having a signal status of "ISSUE";
       signals with a status of "OK" are not included.
       For granular signals, it encompasses information relevant to the signal,
       regardless of the signal status.
       
      repeated .google.cloud.databasecenter.v1beta.AdditionalDetail additional_details = 3;
    • getIssueSeverityValue

      public int getIssueSeverityValue()
       Severity of the issue.
       
      .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;
      Specified by:
      getIssueSeverityValue in interface SignalOrBuilder
      Returns:
      The enum numeric value on the wire for issueSeverity.
    • setIssueSeverityValue

      public Signal.Builder setIssueSeverityValue(int value)
       Severity of the issue.
       
      .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;
      Parameters:
      value - The enum numeric value on the wire for issueSeverity to set.
      Returns:
      This builder for chaining.
    • getIssueSeverity

      public IssueSeverity getIssueSeverity()
       Severity of the issue.
       
      .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;
      Specified by:
      getIssueSeverity in interface SignalOrBuilder
      Returns:
      The issueSeverity.
    • setIssueSeverity

      public Signal.Builder setIssueSeverity(IssueSeverity value)
       Severity of the issue.
       
      .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;
      Parameters:
      value - The issueSeverity to set.
      Returns:
      This builder for chaining.
    • clearIssueSeverity

      public Signal.Builder clearIssueSeverity()
       Severity of the issue.
       
      .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;
      Returns:
      This builder for chaining.
    • hasIssueCreateTime

      public boolean hasIssueCreateTime()
       Timestamp when the issue was created (when signal status is ISSUE).
       
      .google.protobuf.Timestamp issue_create_time = 5;
      Specified by:
      hasIssueCreateTime in interface SignalOrBuilder
      Returns:
      Whether the issueCreateTime field is set.
    • getIssueCreateTime

      public com.google.protobuf.Timestamp getIssueCreateTime()
       Timestamp when the issue was created (when signal status is ISSUE).
       
      .google.protobuf.Timestamp issue_create_time = 5;
      Specified by:
      getIssueCreateTime in interface SignalOrBuilder
      Returns:
      The issueCreateTime.
    • setIssueCreateTime

      public Signal.Builder setIssueCreateTime(com.google.protobuf.Timestamp value)
       Timestamp when the issue was created (when signal status is ISSUE).
       
      .google.protobuf.Timestamp issue_create_time = 5;
    • setIssueCreateTime

      public Signal.Builder setIssueCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp when the issue was created (when signal status is ISSUE).
       
      .google.protobuf.Timestamp issue_create_time = 5;
    • mergeIssueCreateTime

      public Signal.Builder mergeIssueCreateTime(com.google.protobuf.Timestamp value)
       Timestamp when the issue was created (when signal status is ISSUE).
       
      .google.protobuf.Timestamp issue_create_time = 5;
    • clearIssueCreateTime

      public Signal.Builder clearIssueCreateTime()
       Timestamp when the issue was created (when signal status is ISSUE).
       
      .google.protobuf.Timestamp issue_create_time = 5;
    • getIssueCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getIssueCreateTimeBuilder()
       Timestamp when the issue was created (when signal status is ISSUE).
       
      .google.protobuf.Timestamp issue_create_time = 5;
    • getIssueCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getIssueCreateTimeOrBuilder()
       Timestamp when the issue was created (when signal status is ISSUE).
       
      .google.protobuf.Timestamp issue_create_time = 5;
      Specified by:
      getIssueCreateTimeOrBuilder in interface SignalOrBuilder