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 Summary
Modifier and TypeMethodDescriptionaddAllSignals(Iterable<? extends Signal> values) List of signals present in the group and associated with the resource.addSignals(int index, Signal value) List of signals present in the group and associated with the resource.addSignals(int index, Signal.Builder builderForValue) List of signals present in the group and associated with the resource.addSignals(Signal value) List of signals present in the group and associated with the resource.addSignals(Signal.Builder builderForValue) List of signals present in the group and associated with the resource.List of signals present in the group and associated with the resource.addSignalsBuilder(int index) List of signals present in the group and associated with the resource.build()clear()Title of a signal group corresponding to the request.When applied to a DatabaseResource represents count of issues associated with the resource.List of signals present in the group and associated with the resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorTitle of a signal group corresponding to the request.com.google.protobuf.ByteStringTitle of a signal group corresponding to the request.intWhen applied to a DatabaseResource represents count of issues associated with the resource.getSignals(int index) List of signals present in the group and associated with the resource.getSignalsBuilder(int index) List of signals present in the group and associated with the resource.List of signals present in the group and associated with the resource.intList of signals present in the group and associated with the resource.List of signals present in the group and associated with the resource.getSignalsOrBuilder(int index) List of signals present in the group and associated with the resource.List<? extends SignalOrBuilder>List of signals present in the group and associated with the resource.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(SignalGroup other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeSignals(int index) List of signals present in the group and associated with the resource.setDisplayName(String value) Title of a signal group corresponding to the request.setDisplayNameBytes(com.google.protobuf.ByteString value) Title of a signal group corresponding to the request.setIssueCount(int value) When applied to a DatabaseResource represents count of issues associated with the resource.setSignals(int index, Signal value) List of signals present in the group and associated with the resource.setSignals(int index, Signal.Builder builderForValue) List of signals present in the group and associated with the resource.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<SignalGroup.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<SignalGroup.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<SignalGroup.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<SignalGroup.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SignalGroup.Builder>- Throws:
IOException
-
getDisplayName
Title of a signal group corresponding to the request.
string display_name = 1;- Specified by:
getDisplayNamein interfaceSignalGroupOrBuilder- 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:
getDisplayNameBytesin interfaceSignalGroupOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
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
Title of a signal group corresponding to the request.
string display_name = 1;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
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:
getIssueCountin interfaceSignalGroupOrBuilder- Returns:
- The issueCount.
-
setIssueCount
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
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
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:
getSignalsListin interfaceSignalGroupOrBuilder
-
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:
getSignalsCountin interfaceSignalGroupOrBuilder
-
getSignals
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:
getSignalsin interfaceSignalGroupOrBuilder
-
setSignals
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
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
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
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
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
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
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
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
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
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
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:
getSignalsOrBuilderin interfaceSignalGroupOrBuilder
-
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:
getSignalsOrBuilderListin interfaceSignalGroupOrBuilder
-
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
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
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;
-