Class GlobalNetworkEndpointGroupsAttachEndpointsRequest.Builder (1.59.0)

public static final class GlobalNetworkEndpointGroupsAttachEndpointsRequest.Builder extends GeneratedMessageV3.Builder<GlobalNetworkEndpointGroupsAttachEndpointsRequest.Builder> implements GlobalNetworkEndpointGroupsAttachEndpointsRequestOrBuilder

Protobuf type google.cloud.compute.v1.GlobalNetworkEndpointGroupsAttachEndpointsRequest

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addAllNetworkEndpoints(Iterable<? extends NetworkEndpoint> values)

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

addNetworkEndpoints(NetworkEndpoint value)

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

addNetworkEndpoints(NetworkEndpoint.Builder builderForValue)

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

addNetworkEndpoints(int index, NetworkEndpoint value)

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

addNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)

public GlobalNetworkEndpointGroupsAttachEndpointsRequest.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
GlobalNetworkEndpointGroupsAttachEndpointsRequest.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 GlobalNetworkEndpointGroupsAttachEndpointsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GlobalNetworkEndpointGroupsAttachEndpointsRequest.Builder
Overrides

build()

public GlobalNetworkEndpointGroupsAttachEndpointsRequest build()
Returns
Type Description
GlobalNetworkEndpointGroupsAttachEndpointsRequest

buildPartial()

public GlobalNetworkEndpointGroupsAttachEndpointsRequest buildPartial()
Returns
Type Description
GlobalNetworkEndpointGroupsAttachEndpointsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNetworkEndpoints()

public GlobalNetworkEndpointGroupsAttachEndpointsRequest.Builder clearNetworkEndpoints()

The list of network endpoints to be attached.

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

Returns
Type Description
GlobalNetworkEndpointGroupsAttachEndpointsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GlobalNetworkEndpointGroupsAttachEndpointsRequest getDefaultInstanceForType()
Returns
Type Description
GlobalNetworkEndpointGroupsAttachEndpointsRequest

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNetworkEndpoints(int index)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetworkEndpoints(int index, NetworkEndpoint value)

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

setNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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