Class GetExternalVpnGatewayRequest.Builder (1.58.0)

public static final class GetExternalVpnGatewayRequest.Builder extends GeneratedMessageV3.Builder<GetExternalVpnGatewayRequest.Builder> implements GetExternalVpnGatewayRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetExternalVpnGatewayRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetExternalVpnGatewayRequest build()
Returns
Type Description
GetExternalVpnGatewayRequest

buildPartial()

public GetExternalVpnGatewayRequest buildPartial()
Returns
Type Description
GetExternalVpnGatewayRequest

clear()

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

clearExternalVpnGateway()

public GetExternalVpnGatewayRequest.Builder clearExternalVpnGateway()

Name of the externalVpnGateway to return.

string external_vpn_gateway = 109898629 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetExternalVpnGatewayRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetExternalVpnGatewayRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetExternalVpnGatewayRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetExternalVpnGatewayRequest getDefaultInstanceForType()
Returns
Type Description
GetExternalVpnGatewayRequest

getDescriptorForType()

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

getExternalVpnGateway()

public String getExternalVpnGateway()

Name of the externalVpnGateway to return.

string external_vpn_gateway = 109898629 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The externalVpnGateway.

getExternalVpnGatewayBytes()

public ByteString getExternalVpnGatewayBytes()

Name of the externalVpnGateway to return.

string external_vpn_gateway = 109898629 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for externalVpnGateway.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetExternalVpnGatewayRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setExternalVpnGateway(String value)

public GetExternalVpnGatewayRequest.Builder setExternalVpnGateway(String value)

Name of the externalVpnGateway to return.

string external_vpn_gateway = 109898629 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The externalVpnGateway to set.

Returns
Type Description
GetExternalVpnGatewayRequest.Builder

This builder for chaining.

setExternalVpnGatewayBytes(ByteString value)

public GetExternalVpnGatewayRequest.Builder setExternalVpnGatewayBytes(ByteString value)

Name of the externalVpnGateway to return.

string external_vpn_gateway = 109898629 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for externalVpnGateway to set.

Returns
Type Description
GetExternalVpnGatewayRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

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

This builder for chaining.

setProjectBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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