Class BackendServicesScopedList.Builder (1.18.0)

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

Protobuf type google.cloud.compute.v1.BackendServicesScopedList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.BackendService>
Returns
TypeDescription
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
NameDescription
valueBackendService
Returns
TypeDescription
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
NameDescription
builderForValueBackendService.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueBackendService
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBackendService.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
BackendService.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BackendServicesScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BackendServicesScopedList.Builder
Overrides

build()

public BackendServicesScopedList build()
Returns
TypeDescription
BackendServicesScopedList

buildPartial()

public BackendServicesScopedList buildPartial()
Returns
TypeDescription
BackendServicesScopedList

clear()

public BackendServicesScopedList.Builder clear()
Returns
TypeDescription
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
TypeDescription
BackendServicesScopedList.Builder

clearField(Descriptors.FieldDescriptor field)

public BackendServicesScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BackendServicesScopedList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BackendServicesScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BackendServicesScopedList.Builder
Overrides

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

clone()

public BackendServicesScopedList.Builder clone()
Returns
TypeDescription
BackendServicesScopedList.Builder
Overrides

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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getBackendServicesCount()

public int getBackendServicesCount()

A list of BackendServices contained in this scope.

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

Returns
TypeDescription
int

getBackendServicesList()

public List<BackendService> getBackendServicesList()

A list of BackendServices contained in this scope.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.compute.v1.BackendServiceOrBuilder>

getDefaultInstanceForType()

public BackendServicesScopedList getDefaultInstanceForType()
Returns
TypeDescription
BackendServicesScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the warning field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BackendServicesScopedList other)

public BackendServicesScopedList.Builder mergeFrom(BackendServicesScopedList other)
Parameter
NameDescription
otherBackendServicesScopedList
Returns
TypeDescription
BackendServicesScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BackendServicesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackendServicesScopedList.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BackendServicesScopedList.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BackendServicesScopedList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BackendServicesScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueBackendService
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBackendService.Builder
Returns
TypeDescription
BackendServicesScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BackendServicesScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BackendServicesScopedList.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BackendServicesScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BackendServicesScopedList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BackendServicesScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BackendServicesScopedList.Builder
Overrides

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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
builderForValueWarning.Builder
Returns
TypeDescription
BackendServicesScopedList.Builder