Class GetNetworkEndpointGroupRequest.Builder (1.46.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetNetworkEndpointGroupRequest build()
Returns
TypeDescription
GetNetworkEndpointGroupRequest

buildPartial()

public GetNetworkEndpointGroupRequest buildPartial()
Returns
TypeDescription
GetNetworkEndpointGroupRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetNetworkEndpointGroupRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
GetNetworkEndpointGroupRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetNetworkEndpointGroupRequest getDefaultInstanceForType()
Returns
TypeDescription
GetNetworkEndpointGroupRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for networkEndpointGroup.

getProject()

public String getProject()

Project ID for this request.

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

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for zone.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetNetworkEndpointGroupRequest other)

public GetNetworkEndpointGroupRequest.Builder mergeFrom(GetNetworkEndpointGroupRequest other)
Parameter
NameDescription
otherGetNetworkEndpointGroupRequest
Returns
TypeDescription
GetNetworkEndpointGroupRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The networkEndpointGroup to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for networkEndpointGroup to set.

Returns
TypeDescription
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
NameDescription
valueString

The project to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetNetworkEndpointGroupRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetNetworkEndpointGroupRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The zone to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for zone to set.

Returns
TypeDescription
GetNetworkEndpointGroupRequest.Builder

This builder for chaining.