Class HealthCheckServicesScopedList.Builder (1.98.0)

public static final class HealthCheckServicesScopedList.Builder extends GeneratedMessage.Builder<HealthCheckServicesScopedList.Builder> implements HealthCheckServicesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.HealthCheckServicesScopedList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllResources(Iterable<? extends HealthCheckService> values)

public HealthCheckServicesScopedList.Builder addAllResources(Iterable<? extends HealthCheckService> values)

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.HealthCheckService>
Returns
Type Description
HealthCheckServicesScopedList.Builder

addResources(HealthCheckService value)

public HealthCheckServicesScopedList.Builder addResources(HealthCheckService value)

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Parameter
Name Description
value HealthCheckService
Returns
Type Description
HealthCheckServicesScopedList.Builder

addResources(HealthCheckService.Builder builderForValue)

public HealthCheckServicesScopedList.Builder addResources(HealthCheckService.Builder builderForValue)

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Parameter
Name Description
builderForValue HealthCheckService.Builder
Returns
Type Description
HealthCheckServicesScopedList.Builder

addResources(int index, HealthCheckService value)

public HealthCheckServicesScopedList.Builder addResources(int index, HealthCheckService value)

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Parameters
Name Description
index int
value HealthCheckService
Returns
Type Description
HealthCheckServicesScopedList.Builder

addResources(int index, HealthCheckService.Builder builderForValue)

public HealthCheckServicesScopedList.Builder addResources(int index, HealthCheckService.Builder builderForValue)

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Parameters
Name Description
index int
builderForValue HealthCheckService.Builder
Returns
Type Description
HealthCheckServicesScopedList.Builder

addResourcesBuilder()

public HealthCheckService.Builder addResourcesBuilder()

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Returns
Type Description
HealthCheckService.Builder

addResourcesBuilder(int index)

public HealthCheckService.Builder addResourcesBuilder(int index)

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Parameter
Name Description
index int
Returns
Type Description
HealthCheckService.Builder

build()

public HealthCheckServicesScopedList build()
Returns
Type Description
HealthCheckServicesScopedList

buildPartial()

public HealthCheckServicesScopedList buildPartial()
Returns
Type Description
HealthCheckServicesScopedList

clear()

public HealthCheckServicesScopedList.Builder clear()
Returns
Type Description
HealthCheckServicesScopedList.Builder
Overrides

clearResources()

public HealthCheckServicesScopedList.Builder clearResources()

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Returns
Type Description
HealthCheckServicesScopedList.Builder

clearWarning()

public HealthCheckServicesScopedList.Builder clearWarning()

Informational warning which replaces the list of backend services when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
HealthCheckServicesScopedList.Builder

getDefaultInstanceForType()

public HealthCheckServicesScopedList getDefaultInstanceForType()
Returns
Type Description
HealthCheckServicesScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getResources(int index)

public HealthCheckService getResources(int index)

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Parameter
Name Description
index int
Returns
Type Description
HealthCheckService

getResourcesBuilder(int index)

public HealthCheckService.Builder getResourcesBuilder(int index)

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Parameter
Name Description
index int
Returns
Type Description
HealthCheckService.Builder

getResourcesBuilderList()

public List<HealthCheckService.Builder> getResourcesBuilderList()

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Returns
Type Description
List<Builder>

getResourcesCount()

public int getResourcesCount()

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Returns
Type Description
int

getResourcesList()

public List<HealthCheckService> getResourcesList()

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Returns
Type Description
List<HealthCheckService>

getResourcesOrBuilder(int index)

public HealthCheckServiceOrBuilder getResourcesOrBuilder(int index)

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Parameter
Name Description
index int
Returns
Type Description
HealthCheckServiceOrBuilder

getResourcesOrBuilderList()

public List<? extends HealthCheckServiceOrBuilder> getResourcesOrBuilderList()

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.HealthCheckServiceOrBuilder>

getWarning()

public Warning getWarning()

Informational warning which replaces the list of backend services 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 backend services when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning.Builder

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

Informational warning which replaces the list of backend services when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
WarningOrBuilder

hasWarning()

public boolean hasWarning()

Informational warning which replaces the list of backend services 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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HealthCheckServicesScopedList other)

public HealthCheckServicesScopedList.Builder mergeFrom(HealthCheckServicesScopedList other)
Parameter
Name Description
other HealthCheckServicesScopedList
Returns
Type Description
HealthCheckServicesScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HealthCheckServicesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HealthCheckServicesScopedList.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public HealthCheckServicesScopedList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HealthCheckServicesScopedList.Builder
Overrides

mergeWarning(Warning value)

public HealthCheckServicesScopedList.Builder mergeWarning(Warning value)

Informational warning which replaces the list of backend services when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
HealthCheckServicesScopedList.Builder

removeResources(int index)

public HealthCheckServicesScopedList.Builder removeResources(int index)

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Parameter
Name Description
index int
Returns
Type Description
HealthCheckServicesScopedList.Builder

setResources(int index, HealthCheckService value)

public HealthCheckServicesScopedList.Builder setResources(int index, HealthCheckService value)

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Parameters
Name Description
index int
value HealthCheckService
Returns
Type Description
HealthCheckServicesScopedList.Builder

setResources(int index, HealthCheckService.Builder builderForValue)

public HealthCheckServicesScopedList.Builder setResources(int index, HealthCheckService.Builder builderForValue)

A list of HealthCheckServices contained in this scope.

repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;

Parameters
Name Description
index int
builderForValue HealthCheckService.Builder
Returns
Type Description
HealthCheckServicesScopedList.Builder

setWarning(Warning value)

public HealthCheckServicesScopedList.Builder setWarning(Warning value)

Informational warning which replaces the list of backend services when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
HealthCheckServicesScopedList.Builder

setWarning(Warning.Builder builderForValue)

public HealthCheckServicesScopedList.Builder setWarning(Warning.Builder builderForValue)

Informational warning which replaces the list of backend services when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
builderForValue Warning.Builder
Returns
Type Description
HealthCheckServicesScopedList.Builder