Class GetExternalVpnGatewayRequest.Builder (1.19.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetExternalVpnGatewayRequest build()
Returns
TypeDescription
GetExternalVpnGatewayRequest

buildPartial()

public GetExternalVpnGatewayRequest buildPartial()
Returns
TypeDescription
GetExternalVpnGatewayRequest

clear()

public GetExternalVpnGatewayRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
GetExternalVpnGatewayRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetExternalVpnGatewayRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
GetExternalVpnGatewayRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetExternalVpnGatewayRequest getDefaultInstanceForType()
Returns
TypeDescription
GetExternalVpnGatewayRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExternalVpnGateway()

public String getExternalVpnGateway()

Name of the externalVpnGateway to return.

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

Returns
TypeDescription
String

The externalVpnGateway.

getExternalVpnGatewayBytes()

public ByteString getExternalVpnGatewayBytes()

Name of the externalVpnGateway to return.

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

Returns
TypeDescription
ByteString

The bytes for externalVpnGateway.

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(GetExternalVpnGatewayRequest other)

public GetExternalVpnGatewayRequest.Builder mergeFrom(GetExternalVpnGatewayRequest other)
Parameter
NameDescription
otherGetExternalVpnGatewayRequest
Returns
TypeDescription
GetExternalVpnGatewayRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The externalVpnGateway to set.

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

The bytes for externalVpnGateway to set.

Returns
TypeDescription
GetExternalVpnGatewayRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The project to set.

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

The bytes for project to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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