Class NetworkEndpointGroupsAttachEndpointsRequest.Builder (1.22.0)

public static final class NetworkEndpointGroupsAttachEndpointsRequest.Builder extends GeneratedMessageV3.Builder<NetworkEndpointGroupsAttachEndpointsRequest.Builder> implements NetworkEndpointGroupsAttachEndpointsRequestOrBuilder

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupsAttachEndpointsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllNetworkEndpoints(Iterable<? extends NetworkEndpoint> values)

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

The list of network endpoints to be attached.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.NetworkEndpoint>
Returns
TypeDescription
NetworkEndpointGroupsAttachEndpointsRequest.Builder

addNetworkEndpoints(NetworkEndpoint value)

public NetworkEndpointGroupsAttachEndpointsRequest.Builder addNetworkEndpoints(NetworkEndpoint value)

The list of network endpoints to be attached.

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

Parameter
NameDescription
valueNetworkEndpoint
Returns
TypeDescription
NetworkEndpointGroupsAttachEndpointsRequest.Builder

addNetworkEndpoints(NetworkEndpoint.Builder builderForValue)

public NetworkEndpointGroupsAttachEndpointsRequest.Builder addNetworkEndpoints(NetworkEndpoint.Builder builderForValue)

The list of network endpoints to be attached.

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

Parameter
NameDescription
builderForValueNetworkEndpoint.Builder
Returns
TypeDescription
NetworkEndpointGroupsAttachEndpointsRequest.Builder

addNetworkEndpoints(int index, NetworkEndpoint value)

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

The list of network endpoints to be attached.

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

Parameters
NameDescription
indexint
valueNetworkEndpoint
Returns
TypeDescription
NetworkEndpointGroupsAttachEndpointsRequest.Builder

addNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)

public NetworkEndpointGroupsAttachEndpointsRequest.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
NameDescription
indexint
builderForValueNetworkEndpoint.Builder
Returns
TypeDescription
NetworkEndpointGroupsAttachEndpointsRequest.Builder

addNetworkEndpointsBuilder()

public NetworkEndpoint.Builder addNetworkEndpointsBuilder()

The list of network endpoints to be attached.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkEndpointGroupsAttachEndpointsRequest build()
Returns
TypeDescription
NetworkEndpointGroupsAttachEndpointsRequest

buildPartial()

public NetworkEndpointGroupsAttachEndpointsRequest buildPartial()
Returns
TypeDescription
NetworkEndpointGroupsAttachEndpointsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNetworkEndpoints()

public NetworkEndpointGroupsAttachEndpointsRequest.Builder clearNetworkEndpoints()

The list of network endpoints to be attached.

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

Returns
TypeDescription
NetworkEndpointGroupsAttachEndpointsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NetworkEndpointGroupsAttachEndpointsRequest getDefaultInstanceForType()
Returns
TypeDescription
NetworkEndpointGroupsAttachEndpointsRequest

getDescriptorForType()

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

getNetworkEndpointsCount()

public int getNetworkEndpointsCount()

The list of network endpoints to be attached.

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

Returns
TypeDescription
int

getNetworkEndpointsList()

public List<NetworkEndpoint> getNetworkEndpointsList()

The list of network endpoints to be attached.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NetworkEndpointGroupsAttachEndpointsRequest other)

public NetworkEndpointGroupsAttachEndpointsRequest.Builder mergeFrom(NetworkEndpointGroupsAttachEndpointsRequest other)
Parameter
NameDescription
otherNetworkEndpointGroupsAttachEndpointsRequest
Returns
TypeDescription
NetworkEndpointGroupsAttachEndpointsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworkEndpointGroupsAttachEndpointsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworkEndpointGroupsAttachEndpointsRequest.Builder
Overrides

removeNetworkEndpoints(int index)

public NetworkEndpointGroupsAttachEndpointsRequest.Builder removeNetworkEndpoints(int index)

The list of network endpoints to be attached.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkEndpointGroupsAttachEndpointsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetworkEndpoints(int index, NetworkEndpoint value)

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

The list of network endpoints to be attached.

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

Parameters
NameDescription
indexint
valueNetworkEndpoint
Returns
TypeDescription
NetworkEndpointGroupsAttachEndpointsRequest.Builder

setNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)

public NetworkEndpointGroupsAttachEndpointsRequest.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
NameDescription
indexint
builderForValueNetworkEndpoint.Builder
Returns
TypeDescription
NetworkEndpointGroupsAttachEndpointsRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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