Class GetNetworkEndpointGroupRequest.Builder (1.59.0)

public static final class GetNetworkEndpointGroupRequest.Builder extends GeneratedMessageV3.Builder<GetNetworkEndpointGroupRequest.Builder> implements GetNetworkEndpointGroupRequestOrBuilder

A request message for NetworkEndpointGroups.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetNetworkEndpointGroupRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetNetworkEndpointGroupRequest build()
Returns
Type Description
GetNetworkEndpointGroupRequest

buildPartial()

public GetNetworkEndpointGroupRequest buildPartial()
Returns
Type Description
GetNetworkEndpointGroupRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNetworkEndpointGroup()

public GetNetworkEndpointGroupRequest.Builder clearNetworkEndpointGroup()

The name of the network endpoint group. It should comply with RFC1035.

string network_endpoint_group = 433907078 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetNetworkEndpointGroupRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetNetworkEndpointGroupRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetNetworkEndpointGroupRequest.Builder

This builder for chaining.

clearZone()

public GetNetworkEndpointGroupRequest.Builder clearZone()

The name of the zone where the network endpoint group is located. It should comply with RFC1035.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetNetworkEndpointGroupRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetNetworkEndpointGroupRequest getDefaultInstanceForType()
Returns
Type Description
GetNetworkEndpointGroupRequest

getDescriptorForType()

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

getNetworkEndpointGroup()

public String getNetworkEndpointGroup()

The name of the network endpoint group. It should comply with RFC1035.

string network_endpoint_group = 433907078 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The networkEndpointGroup.

getNetworkEndpointGroupBytes()

public ByteString getNetworkEndpointGroupBytes()

The name of the network endpoint group. It should comply with RFC1035.

string network_endpoint_group = 433907078 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for networkEndpointGroup.

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for project.

getZone()

public String getZone()

The name of the zone where the network endpoint group is located. It should comply with RFC1035.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

The name of the zone where the network endpoint group is located. It should comply with RFC1035.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for zone.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetNetworkEndpointGroupRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetworkEndpointGroup(String value)

public GetNetworkEndpointGroupRequest.Builder setNetworkEndpointGroup(String value)

The name of the network endpoint group. It should comply with RFC1035.

string network_endpoint_group = 433907078 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The networkEndpointGroup to set.

Returns
Type Description
GetNetworkEndpointGroupRequest.Builder

This builder for chaining.

setNetworkEndpointGroupBytes(ByteString value)

public GetNetworkEndpointGroupRequest.Builder setNetworkEndpointGroupBytes(ByteString value)

The name of the network endpoint group. It should comply with RFC1035.

string network_endpoint_group = 433907078 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for networkEndpointGroup to set.

Returns
Type Description
GetNetworkEndpointGroupRequest.Builder

This builder for chaining.

setProject(String value)

public GetNetworkEndpointGroupRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetNetworkEndpointGroupRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetNetworkEndpointGroupRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
GetNetworkEndpointGroupRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setZone(String value)

public GetNetworkEndpointGroupRequest.Builder setZone(String value)

The name of the zone where the network endpoint group is located. It should comply with RFC1035.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The zone to set.

Returns
Type Description
GetNetworkEndpointGroupRequest.Builder

This builder for chaining.

setZoneBytes(ByteString value)

public GetNetworkEndpointGroupRequest.Builder setZoneBytes(ByteString value)

The name of the zone where the network endpoint group is located. It should comply with RFC1035.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
GetNetworkEndpointGroupRequest.Builder

This builder for chaining.