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

build()

public GlobalNetworkEndpointGroupsAttachEndpointsRequest build()
Returns
TypeDescription
GlobalNetworkEndpointGroupsAttachEndpointsRequest

buildPartial()

public GlobalNetworkEndpointGroupsAttachEndpointsRequest buildPartial()
Returns
TypeDescription
GlobalNetworkEndpointGroupsAttachEndpointsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GlobalNetworkEndpointGroupsAttachEndpointsRequest getDefaultInstanceForType()
Returns
TypeDescription
GlobalNetworkEndpointGroupsAttachEndpointsRequest

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

public GlobalNetworkEndpointGroupsAttachEndpointsRequest.Builder mergeFrom(GlobalNetworkEndpointGroupsAttachEndpointsRequest other)
Parameter
NameDescription
otherGlobalNetworkEndpointGroupsAttachEndpointsRequest
Returns
TypeDescription
GlobalNetworkEndpointGroupsAttachEndpointsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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