Class BackendServicesScopedList.Builder (1.93.0)

public static final class BackendServicesScopedList.Builder extends GeneratedMessage.Builder<BackendServicesScopedList.Builder> implements BackendServicesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.BackendServicesScopedList

Static Methods

getDescriptor()

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

Methods

addAllBackendServices(Iterable<? extends BackendService> values)

public BackendServicesScopedList.Builder addAllBackendServices(Iterable<? extends BackendService> values)

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

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

addBackendServices(BackendService value)

public BackendServicesScopedList.Builder addBackendServices(BackendService value)

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

Parameter
Name Description
value BackendService
Returns
Type Description
BackendServicesScopedList.Builder

addBackendServices(BackendService.Builder builderForValue)

public BackendServicesScopedList.Builder addBackendServices(BackendService.Builder builderForValue)

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

Parameter
Name Description
builderForValue BackendService.Builder
Returns
Type Description
BackendServicesScopedList.Builder

addBackendServices(int index, BackendService value)

public BackendServicesScopedList.Builder addBackendServices(int index, BackendService value)

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

Parameters
Name Description
index int
value BackendService
Returns
Type Description
BackendServicesScopedList.Builder

addBackendServices(int index, BackendService.Builder builderForValue)

public BackendServicesScopedList.Builder addBackendServices(int index, BackendService.Builder builderForValue)

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

Parameters
Name Description
index int
builderForValue BackendService.Builder
Returns
Type Description
BackendServicesScopedList.Builder

addBackendServicesBuilder()

public BackendService.Builder addBackendServicesBuilder()

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

Returns
Type Description
BackendService.Builder

addBackendServicesBuilder(int index)

public BackendService.Builder addBackendServicesBuilder(int index)

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

Parameter
Name Description
index int
Returns
Type Description
BackendService.Builder

build()

public BackendServicesScopedList build()
Returns
Type Description
BackendServicesScopedList

buildPartial()

public BackendServicesScopedList buildPartial()
Returns
Type Description
BackendServicesScopedList

clear()

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

clearBackendServices()

public BackendServicesScopedList.Builder clearBackendServices()

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

Returns
Type Description
BackendServicesScopedList.Builder

clearWarning()

public BackendServicesScopedList.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
BackendServicesScopedList.Builder

getBackendServices(int index)

public BackendService getBackendServices(int index)

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

Parameter
Name Description
index int
Returns
Type Description
BackendService

getBackendServicesBuilder(int index)

public BackendService.Builder getBackendServicesBuilder(int index)

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

Parameter
Name Description
index int
Returns
Type Description
BackendService.Builder

getBackendServicesBuilderList()

public List<BackendService.Builder> getBackendServicesBuilderList()

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

Returns
Type Description
List<Builder>

getBackendServicesCount()

public int getBackendServicesCount()

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

Returns
Type Description
int

getBackendServicesList()

public List<BackendService> getBackendServicesList()

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

Returns
Type Description
List<BackendService>

getBackendServicesOrBuilder(int index)

public BackendServiceOrBuilder getBackendServicesOrBuilder(int index)

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

Parameter
Name Description
index int
Returns
Type Description
BackendServiceOrBuilder

getBackendServicesOrBuilderList()

public List<? extends BackendServiceOrBuilder> getBackendServicesOrBuilderList()

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

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

getDefaultInstanceForType()

public BackendServicesScopedList getDefaultInstanceForType()
Returns
Type Description
BackendServicesScopedList

getDescriptorForType()

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

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(BackendServicesScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeWarning(Warning value)

public BackendServicesScopedList.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
BackendServicesScopedList.Builder

removeBackendServices(int index)

public BackendServicesScopedList.Builder removeBackendServices(int index)

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

Parameter
Name Description
index int
Returns
Type Description
BackendServicesScopedList.Builder

setBackendServices(int index, BackendService value)

public BackendServicesScopedList.Builder setBackendServices(int index, BackendService value)

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

Parameters
Name Description
index int
value BackendService
Returns
Type Description
BackendServicesScopedList.Builder

setBackendServices(int index, BackendService.Builder builderForValue)

public BackendServicesScopedList.Builder setBackendServices(int index, BackendService.Builder builderForValue)

A list of BackendServices contained in this scope.

repeated .google.cloud.compute.v1.BackendService backend_services = 388522409;

Parameters
Name Description
index int
builderForValue BackendService.Builder
Returns
Type Description
BackendServicesScopedList.Builder

setWarning(Warning value)

public BackendServicesScopedList.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
BackendServicesScopedList.Builder

setWarning(Warning.Builder builderForValue)

public BackendServicesScopedList.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
BackendServicesScopedList.Builder