Class NetworkEndpointGroupsScopedList.Builder (1.9.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.NetworkEndpointGroup>
Returns
TypeDescription
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
NameDescription
valueNetworkEndpointGroup
Returns
TypeDescription
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
NameDescription
builderForValueNetworkEndpointGroup.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueNetworkEndpointGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNetworkEndpointGroup.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NetworkEndpointGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkEndpointGroupsScopedList build()
Returns
TypeDescription
NetworkEndpointGroupsScopedList

buildPartial()

public NetworkEndpointGroupsScopedList buildPartial()
Returns
TypeDescription
NetworkEndpointGroupsScopedList

clear()

public NetworkEndpointGroupsScopedList.Builder clear()
Returns
TypeDescription
NetworkEndpointGroupsScopedList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NetworkEndpointGroupsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
NetworkEndpointGroupsScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworkEndpointGroupsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
NetworkEndpointGroupsScopedList.Builder

clone()

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

getDefaultInstanceForType()

public NetworkEndpointGroupsScopedList getDefaultInstanceForType()
Returns
TypeDescription
NetworkEndpointGroupsScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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(NetworkEndpointGroupsScopedList other)

public NetworkEndpointGroupsScopedList.Builder mergeFrom(NetworkEndpointGroupsScopedList other)
Parameter
NameDescription
otherNetworkEndpointGroupsScopedList
Returns
TypeDescription
NetworkEndpointGroupsScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public NetworkEndpointGroupsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueNetworkEndpointGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNetworkEndpointGroup.Builder
Returns
TypeDescription
NetworkEndpointGroupsScopedList.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworkEndpointGroupsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
builderForValueWarning.Builder
Returns
TypeDescription
NetworkEndpointGroupsScopedList.Builder