Class RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder (1.54.0)

public static final class RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder extends GeneratedMessageV3.Builder<RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder> implements RegionNetworkEndpointGroupsAttachEndpointsRequestOrBuilder

Protobuf type google.cloud.compute.v1.RegionNetworkEndpointGroupsAttachEndpointsRequest

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder

Static Methods

getDescriptor()

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

Methods

addAllNetworkEndpoints(Iterable<? extends NetworkEndpoint> values)

public RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder addAllNetworkEndpoints(Iterable<? extends NetworkEndpoint> values)

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

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

addNetworkEndpoints(NetworkEndpoint value)

public RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder addNetworkEndpoints(NetworkEndpoint value)

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

Parameter
Name Description
value NetworkEndpoint
Returns
Type Description
RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder

addNetworkEndpoints(NetworkEndpoint.Builder builderForValue)

public RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder addNetworkEndpoints(NetworkEndpoint.Builder builderForValue)

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

Parameter
Name Description
builderForValue NetworkEndpoint.Builder
Returns
Type Description
RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder

addNetworkEndpoints(int index, NetworkEndpoint value)

public RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder addNetworkEndpoints(int index, NetworkEndpoint value)

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

Parameters
Name Description
index int
value NetworkEndpoint
Returns
Type Description
RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder

addNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)

public RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder addNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

Parameters
Name Description
index int
builderForValue NetworkEndpoint.Builder
Returns
Type Description
RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder

addNetworkEndpointsBuilder()

public NetworkEndpoint.Builder addNetworkEndpointsBuilder()

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

Returns
Type Description
NetworkEndpoint.Builder

addNetworkEndpointsBuilder(int index)

public NetworkEndpoint.Builder addNetworkEndpointsBuilder(int index)

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

Parameter
Name Description
index int
Returns
Type Description
NetworkEndpoint.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RegionNetworkEndpointGroupsAttachEndpointsRequest build()
Returns
Type Description
RegionNetworkEndpointGroupsAttachEndpointsRequest

buildPartial()

public RegionNetworkEndpointGroupsAttachEndpointsRequest buildPartial()
Returns
Type Description
RegionNetworkEndpointGroupsAttachEndpointsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNetworkEndpoints()

public RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder clearNetworkEndpoints()

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

Returns
Type Description
RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RegionNetworkEndpointGroupsAttachEndpointsRequest getDefaultInstanceForType()
Returns
Type Description
RegionNetworkEndpointGroupsAttachEndpointsRequest

getDescriptorForType()

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

getNetworkEndpoints(int index)

public NetworkEndpoint getNetworkEndpoints(int index)

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

Parameter
Name Description
index int
Returns
Type Description
NetworkEndpoint

getNetworkEndpointsBuilder(int index)

public NetworkEndpoint.Builder getNetworkEndpointsBuilder(int index)

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

Parameter
Name Description
index int
Returns
Type Description
NetworkEndpoint.Builder

getNetworkEndpointsBuilderList()

public List<NetworkEndpoint.Builder> getNetworkEndpointsBuilderList()

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

Returns
Type Description
List<Builder>

getNetworkEndpointsCount()

public int getNetworkEndpointsCount()

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

Returns
Type Description
int

getNetworkEndpointsList()

public List<NetworkEndpoint> getNetworkEndpointsList()

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

Returns
Type Description
List<NetworkEndpoint>

getNetworkEndpointsOrBuilder(int index)

public NetworkEndpointOrBuilder getNetworkEndpointsOrBuilder(int index)

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

Parameter
Name Description
index int
Returns
Type Description
NetworkEndpointOrBuilder

getNetworkEndpointsOrBuilderList()

public List<? extends NetworkEndpointOrBuilder> getNetworkEndpointsOrBuilderList()

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RegionNetworkEndpointGroupsAttachEndpointsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNetworkEndpoints(int index)

public RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder removeNetworkEndpoints(int index)

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

Parameter
Name Description
index int
Returns
Type Description
RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetworkEndpoints(int index, NetworkEndpoint value)

public RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder setNetworkEndpoints(int index, NetworkEndpoint value)

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

Parameters
Name Description
index int
value NetworkEndpoint
Returns
Type Description
RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder

setNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)

public RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder setNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)

The list of network endpoints to be attached.

repeated .google.cloud.compute.v1.NetworkEndpoint network_endpoints = 149850285;

Parameters
Name Description
index int
builderForValue NetworkEndpoint.Builder
Returns
Type Description
RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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