Class GetRegionNetworkEndpointGroupRequest.Builder (1.31.0)

public static final class GetRegionNetworkEndpointGroupRequest.Builder extends GeneratedMessageV3.Builder<GetRegionNetworkEndpointGroupRequest.Builder> implements GetRegionNetworkEndpointGroupRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetRegionNetworkEndpointGroupRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetRegionNetworkEndpointGroupRequest build()
Returns
TypeDescription
GetRegionNetworkEndpointGroupRequest

buildPartial()

public GetRegionNetworkEndpointGroupRequest buildPartial()
Returns
TypeDescription
GetRegionNetworkEndpointGroupRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNetworkEndpointGroup()

public GetRegionNetworkEndpointGroupRequest.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
GetRegionNetworkEndpointGroupRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetRegionNetworkEndpointGroupRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
GetRegionNetworkEndpointGroupRequest.Builder

This builder for chaining.

clearRegion()

public GetRegionNetworkEndpointGroupRequest.Builder clearRegion()

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

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GetRegionNetworkEndpointGroupRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetRegionNetworkEndpointGroupRequest getDefaultInstanceForType()
Returns
TypeDescription
GetRegionNetworkEndpointGroupRequest

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.

getRegion()

public String getRegion()

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

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

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

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for region.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetRegionNetworkEndpointGroupRequest other)

public GetRegionNetworkEndpointGroupRequest.Builder mergeFrom(GetRegionNetworkEndpointGroupRequest other)
Parameter
NameDescription
otherGetRegionNetworkEndpointGroupRequest
Returns
TypeDescription
GetRegionNetworkEndpointGroupRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetworkEndpointGroup(String value)

public GetRegionNetworkEndpointGroupRequest.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
GetRegionNetworkEndpointGroupRequest.Builder

This builder for chaining.

setNetworkEndpointGroupBytes(ByteString value)

public GetRegionNetworkEndpointGroupRequest.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
GetRegionNetworkEndpointGroupRequest.Builder

This builder for chaining.

setProject(String value)

public GetRegionNetworkEndpointGroupRequest.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
GetRegionNetworkEndpointGroupRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetRegionNetworkEndpointGroupRequest.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
GetRegionNetworkEndpointGroupRequest.Builder

This builder for chaining.

setRegion(String value)

public GetRegionNetworkEndpointGroupRequest.Builder setRegion(String value)

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

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The region to set.

Returns
TypeDescription
GetRegionNetworkEndpointGroupRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetRegionNetworkEndpointGroupRequest.Builder setRegionBytes(ByteString value)

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

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for region to set.

Returns
TypeDescription
GetRegionNetworkEndpointGroupRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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