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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetExternalVpnGatewayRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetExternalVpnGatewayRequest build()
Returns
buildPartial()
public GetExternalVpnGatewayRequest buildPartial()
Returns
clear()
public GetExternalVpnGatewayRequest.Builder clear()
Returns
Overrides
clearExternalVpnGateway()
public GetExternalVpnGatewayRequest.Builder clearExternalVpnGateway()
Name of the externalVpnGateway to return.
string external_vpn_gateway = 109898629 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public GetExternalVpnGatewayRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GetExternalVpnGatewayRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProject()
public GetExternalVpnGatewayRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public GetExternalVpnGatewayRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetExternalVpnGatewayRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetExternalVpnGatewayRequest other)
public GetExternalVpnGatewayRequest.Builder mergeFrom(GetExternalVpnGatewayRequest other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetExternalVpnGatewayRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetExternalVpnGatewayRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetExternalVpnGatewayRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public GetExternalVpnGatewayRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetExternalVpnGatewayRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetExternalVpnGatewayRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides