Class CreateTunnelDestGroupRequest.Builder (0.2.0)

public static final class CreateTunnelDestGroupRequest.Builder extends GeneratedMessageV3.Builder<CreateTunnelDestGroupRequest.Builder> implements CreateTunnelDestGroupRequestOrBuilder

The request to CreateTunnelDestGroup.

Protobuf type google.cloud.iap.v1.CreateTunnelDestGroupRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateTunnelDestGroupRequest build()
Returns
Type Description
CreateTunnelDestGroupRequest

buildPartial()

public CreateTunnelDestGroupRequest buildPartial()
Returns
Type Description
CreateTunnelDestGroupRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateTunnelDestGroupRequest.Builder clearParent()

Required. Google Cloud Project ID and location. In the following format: projects/{project_number/id}/iap_tunnel/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateTunnelDestGroupRequest.Builder

This builder for chaining.

clearTunnelDestGroup()

public CreateTunnelDestGroupRequest.Builder clearTunnelDestGroup()

Required. The TunnelDestGroup to create.

.google.cloud.iap.v1.TunnelDestGroup tunnel_dest_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateTunnelDestGroupRequest.Builder

clearTunnelDestGroupId()

public CreateTunnelDestGroupRequest.Builder clearTunnelDestGroupId()

Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name.

This value must be 4-63 characters, and valid characters are [a-z]-.

string tunnel_dest_group_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateTunnelDestGroupRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateTunnelDestGroupRequest getDefaultInstanceForType()
Returns
Type Description
CreateTunnelDestGroupRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. Google Cloud Project ID and location. In the following format: projects/{project_number/id}/iap_tunnel/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Google Cloud Project ID and location. In the following format: projects/{project_number/id}/iap_tunnel/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getTunnelDestGroup()

public TunnelDestGroup getTunnelDestGroup()

Required. The TunnelDestGroup to create.

.google.cloud.iap.v1.TunnelDestGroup tunnel_dest_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TunnelDestGroup

The tunnelDestGroup.

getTunnelDestGroupBuilder()

public TunnelDestGroup.Builder getTunnelDestGroupBuilder()

Required. The TunnelDestGroup to create.

.google.cloud.iap.v1.TunnelDestGroup tunnel_dest_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TunnelDestGroup.Builder

getTunnelDestGroupId()

public String getTunnelDestGroupId()

Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name.

This value must be 4-63 characters, and valid characters are [a-z]-.

string tunnel_dest_group_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The tunnelDestGroupId.

getTunnelDestGroupIdBytes()

public ByteString getTunnelDestGroupIdBytes()

Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name.

This value must be 4-63 characters, and valid characters are [a-z]-.

string tunnel_dest_group_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for tunnelDestGroupId.

getTunnelDestGroupOrBuilder()

public TunnelDestGroupOrBuilder getTunnelDestGroupOrBuilder()

Required. The TunnelDestGroup to create.

.google.cloud.iap.v1.TunnelDestGroup tunnel_dest_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TunnelDestGroupOrBuilder

hasTunnelDestGroup()

public boolean hasTunnelDestGroup()

Required. The TunnelDestGroup to create.

.google.cloud.iap.v1.TunnelDestGroup tunnel_dest_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the tunnelDestGroup field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateTunnelDestGroupRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTunnelDestGroup(TunnelDestGroup value)

public CreateTunnelDestGroupRequest.Builder mergeTunnelDestGroup(TunnelDestGroup value)

Required. The TunnelDestGroup to create.

.google.cloud.iap.v1.TunnelDestGroup tunnel_dest_group = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TunnelDestGroup
Returns
Type Description
CreateTunnelDestGroupRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateTunnelDestGroupRequest.Builder setParent(String value)

Required. Google Cloud Project ID and location. In the following format: projects/{project_number/id}/iap_tunnel/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateTunnelDestGroupRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateTunnelDestGroupRequest.Builder setParentBytes(ByteString value)

Required. Google Cloud Project ID and location. In the following format: projects/{project_number/id}/iap_tunnel/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateTunnelDestGroupRequest.Builder

This builder for chaining.

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

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

setTunnelDestGroup(TunnelDestGroup value)

public CreateTunnelDestGroupRequest.Builder setTunnelDestGroup(TunnelDestGroup value)

Required. The TunnelDestGroup to create.

.google.cloud.iap.v1.TunnelDestGroup tunnel_dest_group = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TunnelDestGroup
Returns
Type Description
CreateTunnelDestGroupRequest.Builder

setTunnelDestGroup(TunnelDestGroup.Builder builderForValue)

public CreateTunnelDestGroupRequest.Builder setTunnelDestGroup(TunnelDestGroup.Builder builderForValue)

Required. The TunnelDestGroup to create.

.google.cloud.iap.v1.TunnelDestGroup tunnel_dest_group = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue TunnelDestGroup.Builder
Returns
Type Description
CreateTunnelDestGroupRequest.Builder

setTunnelDestGroupId(String value)

public CreateTunnelDestGroupRequest.Builder setTunnelDestGroupId(String value)

Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name.

This value must be 4-63 characters, and valid characters are [a-z]-.

string tunnel_dest_group_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The tunnelDestGroupId to set.

Returns
Type Description
CreateTunnelDestGroupRequest.Builder

This builder for chaining.

setTunnelDestGroupIdBytes(ByteString value)

public CreateTunnelDestGroupRequest.Builder setTunnelDestGroupIdBytes(ByteString value)

Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name.

This value must be 4-63 characters, and valid characters are [a-z]-.

string tunnel_dest_group_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for tunnelDestGroupId to set.

Returns
Type Description
CreateTunnelDestGroupRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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