Class GetGlobalNetworkEndpointGroupRequest.Builder (1.34.0)

public static final class GetGlobalNetworkEndpointGroupRequest.Builder extends GeneratedMessageV3.Builder<GetGlobalNetworkEndpointGroupRequest.Builder> implements GetGlobalNetworkEndpointGroupRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetGlobalNetworkEndpointGroupRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetGlobalNetworkEndpointGroupRequest build()
Returns
TypeDescription
GetGlobalNetworkEndpointGroupRequest

buildPartial()

public GetGlobalNetworkEndpointGroupRequest buildPartial()
Returns
TypeDescription
GetGlobalNetworkEndpointGroupRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNetworkEndpointGroup()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetGlobalNetworkEndpointGroupRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
GetGlobalNetworkEndpointGroupRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetGlobalNetworkEndpointGroupRequest getDefaultInstanceForType()
Returns
TypeDescription
GetGlobalNetworkEndpointGroupRequest

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetGlobalNetworkEndpointGroupRequest other)

public GetGlobalNetworkEndpointGroupRequest.Builder mergeFrom(GetGlobalNetworkEndpointGroupRequest other)
Parameter
NameDescription
otherGetGlobalNetworkEndpointGroupRequest
Returns
TypeDescription
GetGlobalNetworkEndpointGroupRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetworkEndpointGroup(String value)

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

This builder for chaining.

setNetworkEndpointGroupBytes(ByteString value)

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

This builder for chaining.

setProject(String value)

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

This builder for chaining.

setProjectBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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