Class GetTunnelDestGroupRequest.Builder (0.10.0)

public static final class GetTunnelDestGroupRequest.Builder extends GeneratedMessageV3.Builder<GetTunnelDestGroupRequest.Builder> implements GetTunnelDestGroupRequestOrBuilder

The request to GetTunnelDestGroup.

Protobuf type google.cloud.iap.v1.GetTunnelDestGroupRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetTunnelDestGroupRequest build()
Returns
Type Description
GetTunnelDestGroupRequest

buildPartial()

public GetTunnelDestGroupRequest buildPartial()
Returns
Type Description
GetTunnelDestGroupRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetTunnelDestGroupRequest.Builder clearName()

Required. Name of the TunnelDestGroup to be fetched. In the following format: projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}.

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

Returns
Type Description
GetTunnelDestGroupRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetTunnelDestGroupRequest getDefaultInstanceForType()
Returns
Type Description
GetTunnelDestGroupRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Name of the TunnelDestGroup to be fetched. In the following format: projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the TunnelDestGroup to be fetched. In the following format: projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetTunnelDestGroupRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetTunnelDestGroupRequest.Builder setName(String value)

Required. Name of the TunnelDestGroup to be fetched. In the following format: projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetTunnelDestGroupRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetTunnelDestGroupRequest.Builder setNameBytes(ByteString value)

Required. Name of the TunnelDestGroup to be fetched. In the following format: projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetTunnelDestGroupRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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