public static final class SignalGroup.Builder extends GeneratedMessage.Builder<SignalGroup.Builder> implements SignalGroupOrBuilderA group of signals and their counts.
Protobuf type google.cloud.databasecenter.v1beta.SignalGroup
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SignalGroup.BuilderImplements
SignalGroupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSignals(Iterable<? extends Signal> values)
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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.databasecenter.v1beta.Signal> |
| Returns | |
|---|---|
| Type | Description |
SignalGroup.Builder |
|
addSignals(Signal value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
Signal |
| Returns | |
|---|---|
| Type | Description |
SignalGroup.Builder |
|
addSignals(Signal.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Signal.Builder |
| Returns | |
|---|---|
| Type | Description |
SignalGroup.Builder |
|
addSignals(int index, Signal value)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Signal |
| Returns | |
|---|---|
| Type | Description |
SignalGroup.Builder |
|
addSignals(int index, Signal.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Signal.Builder |
| Returns | |
|---|---|
| Type | Description |
SignalGroup.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
Signal.Builder |
|
addSignalsBuilder(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Signal.Builder |
|
build()
public SignalGroup build()| Returns | |
|---|---|
| Type | Description |
SignalGroup |
|
buildPartial()
public SignalGroup buildPartial()| Returns | |
|---|---|
| Type | Description |
SignalGroup |
|
clear()
public SignalGroup.Builder clear()| Returns | |
|---|---|
| Type | Description |
SignalGroup.Builder |
|
clearDisplayName()
public SignalGroup.Builder clearDisplayName()Title of a signal group corresponding to the request.
string display_name = 1;
| Returns | |
|---|---|
| Type | Description |
SignalGroup.Builder |
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 | |
|---|---|
| Type | Description |
SignalGroup.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| Type | Description |
SignalGroup.Builder |
|
getDefaultInstanceForType()
public SignalGroup getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SignalGroup |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Title of a signal group corresponding to the request.
string display_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Title of a signal group corresponding to the request.
string display_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
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;
| Returns | |
|---|---|
| Type | Description |
int |
The issueCount. |
getSignals(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Signal |
|
getSignalsBuilder(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Signal.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
int |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<Signal> |
|
getSignalsOrBuilder(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SignalOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.databasecenter.v1beta.SignalOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SignalGroup other)
public SignalGroup.Builder mergeFrom(SignalGroup other)| Parameter | |
|---|---|
| Name | Description |
other |
SignalGroup |
| Returns | |
|---|---|
| Type | Description |
SignalGroup.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SignalGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SignalGroup.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SignalGroup.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SignalGroup.Builder |
|
removeSignals(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SignalGroup.Builder |
|
setDisplayName(String value)
public SignalGroup.Builder setDisplayName(String value)Title of a signal group corresponding to the request.
string display_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
SignalGroup.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public SignalGroup.Builder setDisplayNameBytes(ByteString value)Title of a signal group corresponding to the request.
string display_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
SignalGroup.Builder |
This builder for chaining. |
setIssueCount(int value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe issueCount to set. |
| Returns | |
|---|---|
| Type | Description |
SignalGroup.Builder |
This builder for chaining. |
setSignals(int index, Signal value)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Signal |
| Returns | |
|---|---|
| Type | Description |
SignalGroup.Builder |
|
setSignals(int index, Signal.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Signal.Builder |
| Returns | |
|---|---|
| Type | Description |
SignalGroup.Builder |
|