Class IssueStats.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IssueStats.Builder>
com.google.cloud.databasecenter.v1beta.IssueStats.Builder
- All Implemented Interfaces:
IssueStatsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- IssueStats
public static final class IssueStats.Builder
extends com.google.protobuf.GeneratedMessage.Builder<IssueStats.Builder>
implements IssueStatsOrBuilder
IssueStats holds stats for a particular signal category.Protobuf type
google.cloud.databasecenter.v1beta.IssueStats-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Severity of the issue.Number of resources having issues of a given type.Type of signal which is an issue.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSeverity of the issue.intSeverity of the issue.intNumber of resources having issues of a given type.Type of signal which is an issue.intType of signal which is an issue.booleanOptional.booleanSeverity of the issue.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDeltaDetails(DeltaDetails value) Optional.mergeFrom(IssueStats other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDeltaDetails(DeltaDetails value) Optional.setDeltaDetails(DeltaDetails.Builder builderForValue) Optional.setIssueSeverity(IssueSeverity value) Severity of the issue.setIssueSeverityValue(int value) Severity of the issue.setResourceCount(int value) Number of resources having issues of a given type.setSignalType(SignalType value) Type of signal which is an issue.setSignalTypeValue(int value) Type of signal which is an issue.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<IssueStats.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<IssueStats.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<IssueStats.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IssueStats.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<IssueStats.Builder>
-
mergeFrom
public IssueStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IssueStats.Builder>- Throws:
IOException
-
getSignalTypeValue
public int getSignalTypeValue()Type of signal which is an issue.
.google.cloud.databasecenter.v1beta.SignalType signal_type = 1;- Specified by:
getSignalTypeValuein interfaceIssueStatsOrBuilder- Returns:
- The enum numeric value on the wire for signalType.
-
setSignalTypeValue
Type of signal which is an issue.
.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
Type of signal which is an issue.
.google.cloud.databasecenter.v1beta.SignalType signal_type = 1;- Specified by:
getSignalTypein interfaceIssueStatsOrBuilder- Returns:
- The signalType.
-
setSignalType
Type of signal which is an issue.
.google.cloud.databasecenter.v1beta.SignalType signal_type = 1;- Parameters:
value- The signalType to set.- Returns:
- This builder for chaining.
-
clearSignalType
Type of signal which is an issue.
.google.cloud.databasecenter.v1beta.SignalType signal_type = 1;- Returns:
- This builder for chaining.
-
getResourceCount
public int getResourceCount()Number of resources having issues of a given type.
int32 resource_count = 2;- Specified by:
getResourceCountin interfaceIssueStatsOrBuilder- Returns:
- The resourceCount.
-
setResourceCount
Number of resources having issues of a given type.
int32 resource_count = 2;- Parameters:
value- The resourceCount to set.- Returns:
- This builder for chaining.
-
clearResourceCount
Number of resources having issues of a given type.
int32 resource_count = 2;- Returns:
- This builder for chaining.
-
hasDeltaDetails
public boolean hasDeltaDetails()Optional. Delta counts and details of resources for which issue was raised or fixed.
optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDeltaDetailsin interfaceIssueStatsOrBuilder- Returns:
- Whether the deltaDetails field is set.
-
getDeltaDetails
Optional. Delta counts and details of resources for which issue was raised or fixed.
optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeltaDetailsin interfaceIssueStatsOrBuilder- Returns:
- The deltaDetails.
-
setDeltaDetails
Optional. Delta counts and details of resources for which issue was raised or fixed.
optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setDeltaDetails
Optional. Delta counts and details of resources for which issue was raised or fixed.
optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergeDeltaDetails
Optional. Delta counts and details of resources for which issue was raised or fixed.
optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearDeltaDetails
Optional. Delta counts and details of resources for which issue was raised or fixed.
optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getDeltaDetailsBuilder
Optional. Delta counts and details of resources for which issue was raised or fixed.
optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getDeltaDetailsOrBuilder
Optional. Delta counts and details of resources for which issue was raised or fixed.
optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeltaDetailsOrBuilderin interfaceIssueStatsOrBuilder
-
hasIssueSeverity
public boolean hasIssueSeverity()Severity of the issue.
optional .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;- Specified by:
hasIssueSeverityin interfaceIssueStatsOrBuilder- Returns:
- Whether the issueSeverity field is set.
-
getIssueSeverityValue
public int getIssueSeverityValue()Severity of the issue.
optional .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;- Specified by:
getIssueSeverityValuein interfaceIssueStatsOrBuilder- Returns:
- The enum numeric value on the wire for issueSeverity.
-
setIssueSeverityValue
Severity of the issue.
optional .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
Severity of the issue.
optional .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;- Specified by:
getIssueSeverityin interfaceIssueStatsOrBuilder- Returns:
- The issueSeverity.
-
setIssueSeverity
Severity of the issue.
optional .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;- Parameters:
value- The issueSeverity to set.- Returns:
- This builder for chaining.
-
clearIssueSeverity
Severity of the issue.
optional .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;- Returns:
- This builder for chaining.
-