Class ListTunnelDestGroupsResponse.Builder (0.4.0)

public static final class ListTunnelDestGroupsResponse.Builder extends GeneratedMessageV3.Builder<ListTunnelDestGroupsResponse.Builder> implements ListTunnelDestGroupsResponseOrBuilder

The response from ListTunnelDestGroups.

Protobuf type google.cloud.iap.v1.ListTunnelDestGroupsResponse

Static Methods

getDescriptor()

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

Methods

addAllTunnelDestGroups(Iterable<? extends TunnelDestGroup> values)

public ListTunnelDestGroupsResponse.Builder addAllTunnelDestGroups(Iterable<? extends TunnelDestGroup> values)

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.iap.v1.TunnelDestGroup>
Returns
Type Description
ListTunnelDestGroupsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTunnelDestGroups(TunnelDestGroup value)

public ListTunnelDestGroupsResponse.Builder addTunnelDestGroups(TunnelDestGroup value)

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

Parameter
Name Description
value TunnelDestGroup
Returns
Type Description
ListTunnelDestGroupsResponse.Builder

addTunnelDestGroups(TunnelDestGroup.Builder builderForValue)

public ListTunnelDestGroupsResponse.Builder addTunnelDestGroups(TunnelDestGroup.Builder builderForValue)

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

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

addTunnelDestGroups(int index, TunnelDestGroup value)

public ListTunnelDestGroupsResponse.Builder addTunnelDestGroups(int index, TunnelDestGroup value)

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

Parameters
Name Description
index int
value TunnelDestGroup
Returns
Type Description
ListTunnelDestGroupsResponse.Builder

addTunnelDestGroups(int index, TunnelDestGroup.Builder builderForValue)

public ListTunnelDestGroupsResponse.Builder addTunnelDestGroups(int index, TunnelDestGroup.Builder builderForValue)

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

Parameters
Name Description
index int
builderForValue TunnelDestGroup.Builder
Returns
Type Description
ListTunnelDestGroupsResponse.Builder

addTunnelDestGroupsBuilder()

public TunnelDestGroup.Builder addTunnelDestGroupsBuilder()

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

Returns
Type Description
TunnelDestGroup.Builder

addTunnelDestGroupsBuilder(int index)

public TunnelDestGroup.Builder addTunnelDestGroupsBuilder(int index)

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
TunnelDestGroup.Builder

build()

public ListTunnelDestGroupsResponse build()
Returns
Type Description
ListTunnelDestGroupsResponse

buildPartial()

public ListTunnelDestGroupsResponse buildPartial()
Returns
Type Description
ListTunnelDestGroupsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListTunnelDestGroupsResponse.Builder clearNextPageToken()

A token that you can send as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListTunnelDestGroupsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTunnelDestGroups()

public ListTunnelDestGroupsResponse.Builder clearTunnelDestGroups()

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

Returns
Type Description
ListTunnelDestGroupsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTunnelDestGroupsResponse getDefaultInstanceForType()
Returns
Type Description
ListTunnelDestGroupsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token that you can send as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token that you can send as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTunnelDestGroups(int index)

public TunnelDestGroup getTunnelDestGroups(int index)

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
TunnelDestGroup

getTunnelDestGroupsBuilder(int index)

public TunnelDestGroup.Builder getTunnelDestGroupsBuilder(int index)

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
TunnelDestGroup.Builder

getTunnelDestGroupsBuilderList()

public List<TunnelDestGroup.Builder> getTunnelDestGroupsBuilderList()

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

Returns
Type Description
List<Builder>

getTunnelDestGroupsCount()

public int getTunnelDestGroupsCount()

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

Returns
Type Description
int

getTunnelDestGroupsList()

public List<TunnelDestGroup> getTunnelDestGroupsList()

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

Returns
Type Description
List<TunnelDestGroup>

getTunnelDestGroupsOrBuilder(int index)

public TunnelDestGroupOrBuilder getTunnelDestGroupsOrBuilder(int index)

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
TunnelDestGroupOrBuilder

getTunnelDestGroupsOrBuilderList()

public List<? extends TunnelDestGroupOrBuilder> getTunnelDestGroupsOrBuilderList()

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

Returns
Type Description
List<? extends com.google.cloud.iap.v1.TunnelDestGroupOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTunnelDestGroupsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTunnelDestGroups(int index)

public ListTunnelDestGroupsResponse.Builder removeTunnelDestGroups(int index)

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
ListTunnelDestGroupsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListTunnelDestGroupsResponse.Builder setNextPageToken(String value)

A token that you can send as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListTunnelDestGroupsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTunnelDestGroupsResponse.Builder setNextPageTokenBytes(ByteString value)

A token that you can send as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListTunnelDestGroupsResponse.Builder

This builder for chaining.

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

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

setTunnelDestGroups(int index, TunnelDestGroup value)

public ListTunnelDestGroupsResponse.Builder setTunnelDestGroups(int index, TunnelDestGroup value)

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

Parameters
Name Description
index int
value TunnelDestGroup
Returns
Type Description
ListTunnelDestGroupsResponse.Builder

setTunnelDestGroups(int index, TunnelDestGroup.Builder builderForValue)

public ListTunnelDestGroupsResponse.Builder setTunnelDestGroups(int index, TunnelDestGroup.Builder builderForValue)

TunnelDestGroup existing in the project.

repeated .google.cloud.iap.v1.TunnelDestGroup tunnel_dest_groups = 1;

Parameters
Name Description
index int
builderForValue TunnelDestGroup.Builder
Returns
Type Description
ListTunnelDestGroupsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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