Class RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder (1.51.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.NetworkEndpoint>
Returns
TypeDescription
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
NameDescription
valueNetworkEndpoint
Returns
TypeDescription
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
NameDescription
builderForValueNetworkEndpoint.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueNetworkEndpoint
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNetworkEndpoint.Builder
Returns
TypeDescription
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
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 RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder
Overrides

build()

public RegionNetworkEndpointGroupsAttachEndpointsRequest build()
Returns
TypeDescription
RegionNetworkEndpointGroupsAttachEndpointsRequest

buildPartial()

public RegionNetworkEndpointGroupsAttachEndpointsRequest buildPartial()
Returns
TypeDescription
RegionNetworkEndpointGroupsAttachEndpointsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RegionNetworkEndpointGroupsAttachEndpointsRequest getDefaultInstanceForType()
Returns
TypeDescription
RegionNetworkEndpointGroupsAttachEndpointsRequest

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

public RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder mergeFrom(RegionNetworkEndpointGroupsAttachEndpointsRequest other)
Parameter
NameDescription
otherRegionNetworkEndpointGroupsAttachEndpointsRequest
Returns
TypeDescription
RegionNetworkEndpointGroupsAttachEndpointsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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