public static final class GetVpnTunnelRequest.Builder extends GeneratedMessage.Builder<GetVpnTunnelRequest.Builder> implements GetVpnTunnelRequestOrBuilderA request message for VpnTunnels.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetVpnTunnelRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetVpnTunnelRequest.BuilderImplements
GetVpnTunnelRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetVpnTunnelRequest build()| Returns | |
|---|---|
| Type | Description |
GetVpnTunnelRequest |
|
buildPartial()
public GetVpnTunnelRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetVpnTunnelRequest |
|
clear()
public GetVpnTunnelRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetVpnTunnelRequest.Builder |
|
clearProject()
public GetVpnTunnelRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetVpnTunnelRequest.Builder |
This builder for chaining. |
clearRegion()
public GetVpnTunnelRequest.Builder clearRegion()Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetVpnTunnelRequest.Builder |
This builder for chaining. |
clearVpnTunnel()
public GetVpnTunnelRequest.Builder clearVpnTunnel()Name of the VpnTunnel resource to return.
string vpn_tunnel = 143821331 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetVpnTunnelRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetVpnTunnelRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetVpnTunnelRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getRegion()
public String getRegion()Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for region. |
getVpnTunnel()
public String getVpnTunnel()Name of the VpnTunnel resource to return.
string vpn_tunnel = 143821331 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The vpnTunnel. |
getVpnTunnelBytes()
public ByteString getVpnTunnelBytes()Name of the VpnTunnel resource to return.
string vpn_tunnel = 143821331 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for vpnTunnel. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetVpnTunnelRequest other)
public GetVpnTunnelRequest.Builder mergeFrom(GetVpnTunnelRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetVpnTunnelRequest |
| Returns | |
|---|---|
| Type | Description |
GetVpnTunnelRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetVpnTunnelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetVpnTunnelRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetVpnTunnelRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetVpnTunnelRequest.Builder |
|
setProject(String value)
public GetVpnTunnelRequest.Builder setProject(String value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
GetVpnTunnelRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GetVpnTunnelRequest.Builder setProjectBytes(ByteString value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
GetVpnTunnelRequest.Builder |
This builder for chaining. |
setRegion(String value)
public GetVpnTunnelRequest.Builder setRegion(String value)Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
GetVpnTunnelRequest.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public GetVpnTunnelRequest.Builder setRegionBytes(ByteString value)Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
GetVpnTunnelRequest.Builder |
This builder for chaining. |
setVpnTunnel(String value)
public GetVpnTunnelRequest.Builder setVpnTunnel(String value)Name of the VpnTunnel resource to return.
string vpn_tunnel = 143821331 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe vpnTunnel to set. |
| Returns | |
|---|---|
| Type | Description |
GetVpnTunnelRequest.Builder |
This builder for chaining. |
setVpnTunnelBytes(ByteString value)
public GetVpnTunnelRequest.Builder setVpnTunnelBytes(ByteString value)Name of the VpnTunnel resource to return.
string vpn_tunnel = 143821331 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for vpnTunnel to set. |
| Returns | |
|---|---|
| Type | Description |
GetVpnTunnelRequest.Builder |
This builder for chaining. |