Class NetworkEndpointGroupsScopedList.Builder (1.52.0)

public static final class NetworkEndpointGroupsScopedList.Builder extends GeneratedMessageV3.Builder<NetworkEndpointGroupsScopedList.Builder> implements NetworkEndpointGroupsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupsScopedList

Static Methods

getDescriptor()

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

Methods

addAllNetworkEndpointGroups(Iterable<? extends NetworkEndpointGroup> values)

public NetworkEndpointGroupsScopedList.Builder addAllNetworkEndpointGroups(Iterable<? extends NetworkEndpointGroup> values)

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

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

addNetworkEndpointGroups(NetworkEndpointGroup value)

public NetworkEndpointGroupsScopedList.Builder addNetworkEndpointGroups(NetworkEndpointGroup value)

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

Parameter
Name Description
value NetworkEndpointGroup
Returns
Type Description
NetworkEndpointGroupsScopedList.Builder

addNetworkEndpointGroups(NetworkEndpointGroup.Builder builderForValue)

public NetworkEndpointGroupsScopedList.Builder addNetworkEndpointGroups(NetworkEndpointGroup.Builder builderForValue)

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

Parameter
Name Description
builderForValue NetworkEndpointGroup.Builder
Returns
Type Description
NetworkEndpointGroupsScopedList.Builder

addNetworkEndpointGroups(int index, NetworkEndpointGroup value)

public NetworkEndpointGroupsScopedList.Builder addNetworkEndpointGroups(int index, NetworkEndpointGroup value)

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

Parameters
Name Description
index int
value NetworkEndpointGroup
Returns
Type Description
NetworkEndpointGroupsScopedList.Builder

addNetworkEndpointGroups(int index, NetworkEndpointGroup.Builder builderForValue)

public NetworkEndpointGroupsScopedList.Builder addNetworkEndpointGroups(int index, NetworkEndpointGroup.Builder builderForValue)

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

Parameters
Name Description
index int
builderForValue NetworkEndpointGroup.Builder
Returns
Type Description
NetworkEndpointGroupsScopedList.Builder

addNetworkEndpointGroupsBuilder()

public NetworkEndpointGroup.Builder addNetworkEndpointGroupsBuilder()

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

Returns
Type Description
NetworkEndpointGroup.Builder

addNetworkEndpointGroupsBuilder(int index)

public NetworkEndpointGroup.Builder addNetworkEndpointGroupsBuilder(int index)

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

Parameter
Name Description
index int
Returns
Type Description
NetworkEndpointGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NetworkEndpointGroupsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NetworkEndpointGroupsScopedList.Builder
Overrides

build()

public NetworkEndpointGroupsScopedList build()
Returns
Type Description
NetworkEndpointGroupsScopedList

buildPartial()

public NetworkEndpointGroupsScopedList buildPartial()
Returns
Type Description
NetworkEndpointGroupsScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

public NetworkEndpointGroupsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NetworkEndpointGroupsScopedList.Builder
Overrides

clearNetworkEndpointGroups()

public NetworkEndpointGroupsScopedList.Builder clearNetworkEndpointGroups()

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

Returns
Type Description
NetworkEndpointGroupsScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworkEndpointGroupsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NetworkEndpointGroupsScopedList.Builder
Overrides

clearWarning()

public NetworkEndpointGroupsScopedList.Builder clearWarning()

[Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty.

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

Returns
Type Description
NetworkEndpointGroupsScopedList.Builder

clone()

public NetworkEndpointGroupsScopedList.Builder clone()
Returns
Type Description
NetworkEndpointGroupsScopedList.Builder
Overrides

getDefaultInstanceForType()

public NetworkEndpointGroupsScopedList getDefaultInstanceForType()
Returns
Type Description
NetworkEndpointGroupsScopedList

getDescriptorForType()

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

getNetworkEndpointGroups(int index)

public NetworkEndpointGroup getNetworkEndpointGroups(int index)

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

Parameter
Name Description
index int
Returns
Type Description
NetworkEndpointGroup

getNetworkEndpointGroupsBuilder(int index)

public NetworkEndpointGroup.Builder getNetworkEndpointGroupsBuilder(int index)

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

Parameter
Name Description
index int
Returns
Type Description
NetworkEndpointGroup.Builder

getNetworkEndpointGroupsBuilderList()

public List<NetworkEndpointGroup.Builder> getNetworkEndpointGroupsBuilderList()

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

Returns
Type Description
List<Builder>

getNetworkEndpointGroupsCount()

public int getNetworkEndpointGroupsCount()

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

Returns
Type Description
int

getNetworkEndpointGroupsList()

public List<NetworkEndpointGroup> getNetworkEndpointGroupsList()

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

Returns
Type Description
List<NetworkEndpointGroup>

getNetworkEndpointGroupsOrBuilder(int index)

public NetworkEndpointGroupOrBuilder getNetworkEndpointGroupsOrBuilder(int index)

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

Parameter
Name Description
index int
Returns
Type Description
NetworkEndpointGroupOrBuilder

getNetworkEndpointGroupsOrBuilderList()

public List<? extends NetworkEndpointGroupOrBuilder> getNetworkEndpointGroupsOrBuilderList()

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

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

getWarning()

public Warning getWarning()

[Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty.

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

Returns
Type Description
Warning

The warning.

getWarningBuilder()

public Warning.Builder getWarningBuilder()

[Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty.

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

Returns
Type Description
Warning.Builder

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

[Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty.

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

Returns
Type Description
WarningOrBuilder

hasWarning()

public boolean hasWarning()

[Output Only] An informational warning that replaces the list of network endpoint groups 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworkEndpointGroupsScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworkEndpointGroupsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworkEndpointGroupsScopedList.Builder
Overrides

mergeWarning(Warning value)

public NetworkEndpointGroupsScopedList.Builder mergeWarning(Warning value)

[Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty.

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

Parameter
Name Description
value Warning
Returns
Type Description
NetworkEndpointGroupsScopedList.Builder

removeNetworkEndpointGroups(int index)

public NetworkEndpointGroupsScopedList.Builder removeNetworkEndpointGroups(int index)

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

Parameter
Name Description
index int
Returns
Type Description
NetworkEndpointGroupsScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NetworkEndpointGroupsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NetworkEndpointGroupsScopedList.Builder
Overrides

setNetworkEndpointGroups(int index, NetworkEndpointGroup value)

public NetworkEndpointGroupsScopedList.Builder setNetworkEndpointGroups(int index, NetworkEndpointGroup value)

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

Parameters
Name Description
index int
value NetworkEndpointGroup
Returns
Type Description
NetworkEndpointGroupsScopedList.Builder

setNetworkEndpointGroups(int index, NetworkEndpointGroup.Builder builderForValue)

public NetworkEndpointGroupsScopedList.Builder setNetworkEndpointGroups(int index, NetworkEndpointGroup.Builder builderForValue)

[Output Only] The list of network endpoint groups that are contained in this scope.

repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;

Parameters
Name Description
index int
builderForValue NetworkEndpointGroup.Builder
Returns
Type Description
NetworkEndpointGroupsScopedList.Builder

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

public NetworkEndpointGroupsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NetworkEndpointGroupsScopedList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworkEndpointGroupsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworkEndpointGroupsScopedList.Builder
Overrides

setWarning(Warning value)

public NetworkEndpointGroupsScopedList.Builder setWarning(Warning value)

[Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty.

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

Parameter
Name Description
value Warning
Returns
Type Description
NetworkEndpointGroupsScopedList.Builder

setWarning(Warning.Builder builderForValue)

public NetworkEndpointGroupsScopedList.Builder setWarning(Warning.Builder builderForValue)

[Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty.

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

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