Class ListInterceptEndpointGroupsResponse.Builder (0.94.0)

public static final class ListInterceptEndpointGroupsResponse.Builder extends GeneratedMessage.Builder<ListInterceptEndpointGroupsResponse.Builder> implements ListInterceptEndpointGroupsResponseOrBuilder

Response message for ListInterceptEndpointGroups.

Protobuf type google.cloud.networksecurity.v1.ListInterceptEndpointGroupsResponse

Static Methods

getDescriptor()

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

Methods

addAllInterceptEndpointGroups(Iterable<? extends InterceptEndpointGroup> values)

public ListInterceptEndpointGroupsResponse.Builder addAllInterceptEndpointGroups(Iterable<? extends InterceptEndpointGroup> values)

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.networksecurity.v1.InterceptEndpointGroup>
Returns
Type Description
ListInterceptEndpointGroupsResponse.Builder

addInterceptEndpointGroups(InterceptEndpointGroup value)

public ListInterceptEndpointGroupsResponse.Builder addInterceptEndpointGroups(InterceptEndpointGroup value)

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Parameter
Name Description
value InterceptEndpointGroup
Returns
Type Description
ListInterceptEndpointGroupsResponse.Builder

addInterceptEndpointGroups(InterceptEndpointGroup.Builder builderForValue)

public ListInterceptEndpointGroupsResponse.Builder addInterceptEndpointGroups(InterceptEndpointGroup.Builder builderForValue)

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Parameter
Name Description
builderForValue InterceptEndpointGroup.Builder
Returns
Type Description
ListInterceptEndpointGroupsResponse.Builder

addInterceptEndpointGroups(int index, InterceptEndpointGroup value)

public ListInterceptEndpointGroupsResponse.Builder addInterceptEndpointGroups(int index, InterceptEndpointGroup value)

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Parameters
Name Description
index int
value InterceptEndpointGroup
Returns
Type Description
ListInterceptEndpointGroupsResponse.Builder

addInterceptEndpointGroups(int index, InterceptEndpointGroup.Builder builderForValue)

public ListInterceptEndpointGroupsResponse.Builder addInterceptEndpointGroups(int index, InterceptEndpointGroup.Builder builderForValue)

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Parameters
Name Description
index int
builderForValue InterceptEndpointGroup.Builder
Returns
Type Description
ListInterceptEndpointGroupsResponse.Builder

addInterceptEndpointGroupsBuilder()

public InterceptEndpointGroup.Builder addInterceptEndpointGroupsBuilder()

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Returns
Type Description
InterceptEndpointGroup.Builder

addInterceptEndpointGroupsBuilder(int index)

public InterceptEndpointGroup.Builder addInterceptEndpointGroupsBuilder(int index)

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
InterceptEndpointGroup.Builder

build()

public ListInterceptEndpointGroupsResponse build()
Returns
Type Description
ListInterceptEndpointGroupsResponse

buildPartial()

public ListInterceptEndpointGroupsResponse buildPartial()
Returns
Type Description
ListInterceptEndpointGroupsResponse

clear()

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

clearInterceptEndpointGroups()

public ListInterceptEndpointGroupsResponse.Builder clearInterceptEndpointGroups()

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Returns
Type Description
ListInterceptEndpointGroupsResponse.Builder

clearNextPageToken()

public ListInterceptEndpointGroupsResponse.Builder clearNextPageToken()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.

string next_page_token = 2;

Returns
Type Description
ListInterceptEndpointGroupsResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListInterceptEndpointGroupsResponse getDefaultInstanceForType()
Returns
Type Description
ListInterceptEndpointGroupsResponse

getDescriptorForType()

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

getInterceptEndpointGroups(int index)

public InterceptEndpointGroup getInterceptEndpointGroups(int index)

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
InterceptEndpointGroup

getInterceptEndpointGroupsBuilder(int index)

public InterceptEndpointGroup.Builder getInterceptEndpointGroupsBuilder(int index)

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
InterceptEndpointGroup.Builder

getInterceptEndpointGroupsBuilderList()

public List<InterceptEndpointGroup.Builder> getInterceptEndpointGroupsBuilderList()

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Returns
Type Description
List<Builder>

getInterceptEndpointGroupsCount()

public int getInterceptEndpointGroupsCount()

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Returns
Type Description
int

getInterceptEndpointGroupsList()

public List<InterceptEndpointGroup> getInterceptEndpointGroupsList()

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Returns
Type Description
List<InterceptEndpointGroup>

getInterceptEndpointGroupsOrBuilder(int index)

public InterceptEndpointGroupOrBuilder getInterceptEndpointGroupsOrBuilder(int index)

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
InterceptEndpointGroupOrBuilder

getInterceptEndpointGroupsOrBuilderList()

public List<? extends InterceptEndpointGroupOrBuilder> getInterceptEndpointGroupsOrBuilderList()

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Returns
Type Description
List<? extends com.google.cloud.networksecurity.v1.InterceptEndpointGroupOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListInterceptEndpointGroupsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeInterceptEndpointGroups(int index)

public ListInterceptEndpointGroupsResponse.Builder removeInterceptEndpointGroups(int index)

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
ListInterceptEndpointGroupsResponse.Builder

setInterceptEndpointGroups(int index, InterceptEndpointGroup value)

public ListInterceptEndpointGroupsResponse.Builder setInterceptEndpointGroups(int index, InterceptEndpointGroup value)

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Parameters
Name Description
index int
value InterceptEndpointGroup
Returns
Type Description
ListInterceptEndpointGroupsResponse.Builder

setInterceptEndpointGroups(int index, InterceptEndpointGroup.Builder builderForValue)

public ListInterceptEndpointGroupsResponse.Builder setInterceptEndpointGroups(int index, InterceptEndpointGroup.Builder builderForValue)

The endpoint groups from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_groups = 1;

Parameters
Name Description
index int
builderForValue InterceptEndpointGroup.Builder
Returns
Type Description
ListInterceptEndpointGroupsResponse.Builder

setNextPageToken(String value)

public ListInterceptEndpointGroupsResponse.Builder setNextPageToken(String value)

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListInterceptEndpointGroupsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListInterceptEndpointGroupsResponse.Builder setNextPageTokenBytes(ByteString value)

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListInterceptEndpointGroupsResponse.Builder

This builder for chaining.