Class ListUrlListsResponse.Builder (0.94.0)

public static final class ListUrlListsResponse.Builder extends GeneratedMessage.Builder<ListUrlListsResponse.Builder> implements ListUrlListsResponseOrBuilder

Response returned by the ListUrlLists method.

Protobuf type google.cloud.networksecurity.v1.ListUrlListsResponse

Static Methods

getDescriptor()

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

Methods

addAllUnreachable(Iterable<String> values)

public ListUrlListsResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListUrlListsResponse.Builder

This builder for chaining.

addAllUrlLists(Iterable<? extends UrlList> values)

public ListUrlListsResponse.Builder addAllUrlLists(Iterable<? extends UrlList> values)

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

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

addUnreachable(String value)

public ListUrlListsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListUrlListsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListUrlListsResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListUrlListsResponse.Builder

This builder for chaining.

addUrlLists(UrlList value)

public ListUrlListsResponse.Builder addUrlLists(UrlList value)

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

Parameter
Name Description
value UrlList
Returns
Type Description
ListUrlListsResponse.Builder

addUrlLists(UrlList.Builder builderForValue)

public ListUrlListsResponse.Builder addUrlLists(UrlList.Builder builderForValue)

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

Parameter
Name Description
builderForValue UrlList.Builder
Returns
Type Description
ListUrlListsResponse.Builder

addUrlLists(int index, UrlList value)

public ListUrlListsResponse.Builder addUrlLists(int index, UrlList value)

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

Parameters
Name Description
index int
value UrlList
Returns
Type Description
ListUrlListsResponse.Builder

addUrlLists(int index, UrlList.Builder builderForValue)

public ListUrlListsResponse.Builder addUrlLists(int index, UrlList.Builder builderForValue)

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

Parameters
Name Description
index int
builderForValue UrlList.Builder
Returns
Type Description
ListUrlListsResponse.Builder

addUrlListsBuilder()

public UrlList.Builder addUrlListsBuilder()

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

Returns
Type Description
UrlList.Builder

addUrlListsBuilder(int index)

public UrlList.Builder addUrlListsBuilder(int index)

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

Parameter
Name Description
index int
Returns
Type Description
UrlList.Builder

build()

public ListUrlListsResponse build()
Returns
Type Description
ListUrlListsResponse

buildPartial()

public ListUrlListsResponse buildPartial()
Returns
Type Description
ListUrlListsResponse

clear()

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

clearNextPageToken()

public ListUrlListsResponse.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
ListUrlListsResponse.Builder

This builder for chaining.

clearUnreachable()

public ListUrlListsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListUrlListsResponse.Builder

This builder for chaining.

clearUrlLists()

public ListUrlListsResponse.Builder clearUrlLists()

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

Returns
Type Description
ListUrlListsResponse.Builder

getDefaultInstanceForType()

public ListUrlListsResponse getDefaultInstanceForType()
Returns
Type Description
ListUrlListsResponse

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.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

getUrlLists(int index)

public UrlList getUrlLists(int index)

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

Parameter
Name Description
index int
Returns
Type Description
UrlList

getUrlListsBuilder(int index)

public UrlList.Builder getUrlListsBuilder(int index)

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

Parameter
Name Description
index int
Returns
Type Description
UrlList.Builder

getUrlListsBuilderList()

public List<UrlList.Builder> getUrlListsBuilderList()

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

Returns
Type Description
List<Builder>

getUrlListsCount()

public int getUrlListsCount()

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

Returns
Type Description
int

getUrlListsList()

public List<UrlList> getUrlListsList()

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

Returns
Type Description
List<UrlList>

getUrlListsOrBuilder(int index)

public UrlListOrBuilder getUrlListsOrBuilder(int index)

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

Parameter
Name Description
index int
Returns
Type Description
UrlListOrBuilder

getUrlListsOrBuilderList()

public List<? extends UrlListOrBuilder> getUrlListsOrBuilderList()

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListUrlListsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeUrlLists(int index)

public ListUrlListsResponse.Builder removeUrlLists(int index)

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

Parameter
Name Description
index int
Returns
Type Description
ListUrlListsResponse.Builder

setNextPageToken(String value)

public ListUrlListsResponse.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
ListUrlListsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListUrlListsResponse.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
ListUrlListsResponse.Builder

This builder for chaining.

setUnreachable(int index, String value)

public ListUrlListsResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListUrlListsResponse.Builder

This builder for chaining.

setUrlLists(int index, UrlList value)

public ListUrlListsResponse.Builder setUrlLists(int index, UrlList value)

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

Parameters
Name Description
index int
value UrlList
Returns
Type Description
ListUrlListsResponse.Builder

setUrlLists(int index, UrlList.Builder builderForValue)

public ListUrlListsResponse.Builder setUrlLists(int index, UrlList.Builder builderForValue)

List of UrlList resources.

repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;

Parameters
Name Description
index int
builderForValue UrlList.Builder
Returns
Type Description
ListUrlListsResponse.Builder