public static final class HealthSourcesScopedList.Builder extends GeneratedMessage.Builder<HealthSourcesScopedList.Builder> implements HealthSourcesScopedListOrBuilder
Protobuf type google.cloud.compute.v1.HealthSourcesScopedList
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllHealthSources(Iterable<? extends HealthSource> values)
public HealthSourcesScopedList.Builder addAllHealthSources(Iterable<? extends HealthSource> values)
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.compute.v1.HealthSource>
|
addHealthSources(HealthSource value)
public HealthSourcesScopedList.Builder addHealthSources(HealthSource value)
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
addHealthSources(HealthSource.Builder builderForValue)
public HealthSourcesScopedList.Builder addHealthSources(HealthSource.Builder builderForValue)
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
addHealthSources(int index, HealthSource value)
public HealthSourcesScopedList.Builder addHealthSources(int index, HealthSource value)
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
addHealthSources(int index, HealthSource.Builder builderForValue)
public HealthSourcesScopedList.Builder addHealthSources(int index, HealthSource.Builder builderForValue)
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
addHealthSourcesBuilder()
public HealthSource.Builder addHealthSourcesBuilder()
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
addHealthSourcesBuilder(int index)
public HealthSource.Builder addHealthSourcesBuilder(int index)
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
| Parameter |
| Name |
Description |
index |
int
|
build()
public HealthSourcesScopedList build()
buildPartial()
public HealthSourcesScopedList buildPartial()
clear()
public HealthSourcesScopedList.Builder clear()
Overrides
clearHealthSources()
public HealthSourcesScopedList.Builder clearHealthSources()
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
clearWarning()
public HealthSourcesScopedList.Builder clearWarning()
Informational warning which replaces the list of
health sources when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
getDefaultInstanceForType()
public HealthSourcesScopedList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getHealthSources(int index)
public HealthSource getHealthSources(int index)
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
| Parameter |
| Name |
Description |
index |
int
|
getHealthSourcesBuilder(int index)
public HealthSource.Builder getHealthSourcesBuilder(int index)
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
| Parameter |
| Name |
Description |
index |
int
|
getHealthSourcesBuilderList()
public List<HealthSource.Builder> getHealthSourcesBuilderList()
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
getHealthSourcesCount()
public int getHealthSourcesCount()
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
| Returns |
| Type |
Description |
int |
|
getHealthSourcesList()
public List<HealthSource> getHealthSourcesList()
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
getHealthSourcesOrBuilder(int index)
public HealthSourceOrBuilder getHealthSourcesOrBuilder(int index)
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
| Parameter |
| Name |
Description |
index |
int
|
getHealthSourcesOrBuilderList()
public List<? extends HealthSourceOrBuilder> getHealthSourcesOrBuilderList()
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.compute.v1.HealthSourceOrBuilder> |
|
getWarning()
public Warning getWarning()
Informational warning which replaces the list of
health sources when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Returns |
| Type |
Description |
Warning |
The warning.
|
getWarningBuilder()
public Warning.Builder getWarningBuilder()
Informational warning which replaces the list of
health sources when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
getWarningOrBuilder()
public WarningOrBuilder getWarningOrBuilder()
Informational warning which replaces the list of
health sources when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
hasWarning()
public boolean hasWarning()
Informational warning which replaces the list of
health sources when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Returns |
| Type |
Description |
boolean |
Whether the warning field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(HealthSourcesScopedList other)
public HealthSourcesScopedList.Builder mergeFrom(HealthSourcesScopedList other)
public HealthSourcesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public HealthSourcesScopedList.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeWarning(Warning value)
public HealthSourcesScopedList.Builder mergeWarning(Warning value)
Informational warning which replaces the list of
health sources when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Parameter |
| Name |
Description |
value |
Warning
|
removeHealthSources(int index)
public HealthSourcesScopedList.Builder removeHealthSources(int index)
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
| Parameter |
| Name |
Description |
index |
int
|
setHealthSources(int index, HealthSource value)
public HealthSourcesScopedList.Builder setHealthSources(int index, HealthSource value)
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
setHealthSources(int index, HealthSource.Builder builderForValue)
public HealthSourcesScopedList.Builder setHealthSources(int index, HealthSource.Builder builderForValue)
A list of HealthSources contained in this scope.
repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
setWarning(Warning value)
public HealthSourcesScopedList.Builder setWarning(Warning value)
Informational warning which replaces the list of
health sources when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Parameter |
| Name |
Description |
value |
Warning
|
setWarning(Warning.Builder builderForValue)
public HealthSourcesScopedList.Builder setWarning(Warning.Builder builderForValue)
Informational warning which replaces the list of
health sources when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;