Class ListSecurityProfileGroupsResponse.Builder (0.94.0)

public static final class ListSecurityProfileGroupsResponse.Builder extends GeneratedMessage.Builder<ListSecurityProfileGroupsResponse.Builder> implements ListSecurityProfileGroupsResponseOrBuilder

Response returned by the ListSecurityProfileGroups method.

Protobuf type google.cloud.networksecurity.v1.ListSecurityProfileGroupsResponse

Static Methods

getDescriptor()

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

Methods

addAllSecurityProfileGroups(Iterable<? extends SecurityProfileGroup> values)

public ListSecurityProfileGroupsResponse.Builder addAllSecurityProfileGroups(Iterable<? extends SecurityProfileGroup> values)

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

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

addSecurityProfileGroups(SecurityProfileGroup value)

public ListSecurityProfileGroupsResponse.Builder addSecurityProfileGroups(SecurityProfileGroup value)

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

Parameter
Name Description
value SecurityProfileGroup
Returns
Type Description
ListSecurityProfileGroupsResponse.Builder

addSecurityProfileGroups(SecurityProfileGroup.Builder builderForValue)

public ListSecurityProfileGroupsResponse.Builder addSecurityProfileGroups(SecurityProfileGroup.Builder builderForValue)

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

Parameter
Name Description
builderForValue SecurityProfileGroup.Builder
Returns
Type Description
ListSecurityProfileGroupsResponse.Builder

addSecurityProfileGroups(int index, SecurityProfileGroup value)

public ListSecurityProfileGroupsResponse.Builder addSecurityProfileGroups(int index, SecurityProfileGroup value)

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

Parameters
Name Description
index int
value SecurityProfileGroup
Returns
Type Description
ListSecurityProfileGroupsResponse.Builder

addSecurityProfileGroups(int index, SecurityProfileGroup.Builder builderForValue)

public ListSecurityProfileGroupsResponse.Builder addSecurityProfileGroups(int index, SecurityProfileGroup.Builder builderForValue)

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

Parameters
Name Description
index int
builderForValue SecurityProfileGroup.Builder
Returns
Type Description
ListSecurityProfileGroupsResponse.Builder

addSecurityProfileGroupsBuilder()

public SecurityProfileGroup.Builder addSecurityProfileGroupsBuilder()

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

Returns
Type Description
SecurityProfileGroup.Builder

addSecurityProfileGroupsBuilder(int index)

public SecurityProfileGroup.Builder addSecurityProfileGroupsBuilder(int index)

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
SecurityProfileGroup.Builder

build()

public ListSecurityProfileGroupsResponse build()
Returns
Type Description
ListSecurityProfileGroupsResponse

buildPartial()

public ListSecurityProfileGroupsResponse buildPartial()
Returns
Type Description
ListSecurityProfileGroupsResponse

clear()

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

clearNextPageToken()

public ListSecurityProfileGroupsResponse.Builder clearNextPageToken()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
ListSecurityProfileGroupsResponse.Builder

This builder for chaining.

clearSecurityProfileGroups()

public ListSecurityProfileGroupsResponse.Builder clearSecurityProfileGroups()

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

Returns
Type Description
ListSecurityProfileGroupsResponse.Builder

getDefaultInstanceForType()

public ListSecurityProfileGroupsResponse getDefaultInstanceForType()
Returns
Type Description
ListSecurityProfileGroupsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getSecurityProfileGroups(int index)

public SecurityProfileGroup getSecurityProfileGroups(int index)

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
SecurityProfileGroup

getSecurityProfileGroupsBuilder(int index)

public SecurityProfileGroup.Builder getSecurityProfileGroupsBuilder(int index)

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
SecurityProfileGroup.Builder

getSecurityProfileGroupsBuilderList()

public List<SecurityProfileGroup.Builder> getSecurityProfileGroupsBuilderList()

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

Returns
Type Description
List<Builder>

getSecurityProfileGroupsCount()

public int getSecurityProfileGroupsCount()

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

Returns
Type Description
int

getSecurityProfileGroupsList()

public List<SecurityProfileGroup> getSecurityProfileGroupsList()

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

Returns
Type Description
List<SecurityProfileGroup>

getSecurityProfileGroupsOrBuilder(int index)

public SecurityProfileGroupOrBuilder getSecurityProfileGroupsOrBuilder(int index)

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
SecurityProfileGroupOrBuilder

getSecurityProfileGroupsOrBuilderList()

public List<? extends SecurityProfileGroupOrBuilder> getSecurityProfileGroupsOrBuilderList()

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSecurityProfileGroupsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeSecurityProfileGroups(int index)

public ListSecurityProfileGroupsResponse.Builder removeSecurityProfileGroups(int index)

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
ListSecurityProfileGroupsResponse.Builder

setNextPageToken(String value)

public ListSecurityProfileGroupsResponse.Builder setNextPageToken(String value)

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListSecurityProfileGroupsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSecurityProfileGroupsResponse.Builder setNextPageTokenBytes(ByteString value)

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListSecurityProfileGroupsResponse.Builder

This builder for chaining.

setSecurityProfileGroups(int index, SecurityProfileGroup value)

public ListSecurityProfileGroupsResponse.Builder setSecurityProfileGroups(int index, SecurityProfileGroup value)

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

Parameters
Name Description
index int
value SecurityProfileGroup
Returns
Type Description
ListSecurityProfileGroupsResponse.Builder

setSecurityProfileGroups(int index, SecurityProfileGroup.Builder builderForValue)

public ListSecurityProfileGroupsResponse.Builder setSecurityProfileGroups(int index, SecurityProfileGroup.Builder builderForValue)

List of SecurityProfileGroups resources.

repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;

Parameters
Name Description
index int
builderForValue SecurityProfileGroup.Builder
Returns
Type Description
ListSecurityProfileGroupsResponse.Builder