Class ListClientTlsPoliciesResponse.Builder (0.49.0)

public static final class ListClientTlsPoliciesResponse.Builder extends GeneratedMessageV3.Builder<ListClientTlsPoliciesResponse.Builder> implements ListClientTlsPoliciesResponseOrBuilder

Response returned by the ListClientTlsPolicies method.

Protobuf type google.cloud.networksecurity.v1.ListClientTlsPoliciesResponse

Static Methods

getDescriptor()

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

Methods

addAllClientTlsPolicies(Iterable<? extends ClientTlsPolicy> values)

public ListClientTlsPoliciesResponse.Builder addAllClientTlsPolicies(Iterable<? extends ClientTlsPolicy> values)

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

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

addClientTlsPolicies(ClientTlsPolicy value)

public ListClientTlsPoliciesResponse.Builder addClientTlsPolicies(ClientTlsPolicy value)

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

Parameter
Name Description
value ClientTlsPolicy
Returns
Type Description
ListClientTlsPoliciesResponse.Builder

addClientTlsPolicies(ClientTlsPolicy.Builder builderForValue)

public ListClientTlsPoliciesResponse.Builder addClientTlsPolicies(ClientTlsPolicy.Builder builderForValue)

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

Parameter
Name Description
builderForValue ClientTlsPolicy.Builder
Returns
Type Description
ListClientTlsPoliciesResponse.Builder

addClientTlsPolicies(int index, ClientTlsPolicy value)

public ListClientTlsPoliciesResponse.Builder addClientTlsPolicies(int index, ClientTlsPolicy value)

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

Parameters
Name Description
index int
value ClientTlsPolicy
Returns
Type Description
ListClientTlsPoliciesResponse.Builder

addClientTlsPolicies(int index, ClientTlsPolicy.Builder builderForValue)

public ListClientTlsPoliciesResponse.Builder addClientTlsPolicies(int index, ClientTlsPolicy.Builder builderForValue)

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

Parameters
Name Description
index int
builderForValue ClientTlsPolicy.Builder
Returns
Type Description
ListClientTlsPoliciesResponse.Builder

addClientTlsPoliciesBuilder()

public ClientTlsPolicy.Builder addClientTlsPoliciesBuilder()

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

Returns
Type Description
ClientTlsPolicy.Builder

addClientTlsPoliciesBuilder(int index)

public ClientTlsPolicy.Builder addClientTlsPoliciesBuilder(int index)

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
ClientTlsPolicy.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListClientTlsPoliciesResponse build()
Returns
Type Description
ListClientTlsPoliciesResponse

buildPartial()

public ListClientTlsPoliciesResponse buildPartial()
Returns
Type Description
ListClientTlsPoliciesResponse

clear()

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

clearClientTlsPolicies()

public ListClientTlsPoliciesResponse.Builder clearClientTlsPolicies()

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

Returns
Type Description
ListClientTlsPoliciesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getClientTlsPolicies(int index)

public ClientTlsPolicy getClientTlsPolicies(int index)

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
ClientTlsPolicy

getClientTlsPoliciesBuilder(int index)

public ClientTlsPolicy.Builder getClientTlsPoliciesBuilder(int index)

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
ClientTlsPolicy.Builder

getClientTlsPoliciesBuilderList()

public List<ClientTlsPolicy.Builder> getClientTlsPoliciesBuilderList()

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

Returns
Type Description
List<Builder>

getClientTlsPoliciesCount()

public int getClientTlsPoliciesCount()

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

Returns
Type Description
int

getClientTlsPoliciesList()

public List<ClientTlsPolicy> getClientTlsPoliciesList()

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

Returns
Type Description
List<ClientTlsPolicy>

getClientTlsPoliciesOrBuilder(int index)

public ClientTlsPolicyOrBuilder getClientTlsPoliciesOrBuilder(int index)

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
ClientTlsPolicyOrBuilder

getClientTlsPoliciesOrBuilderList()

public List<? extends ClientTlsPolicyOrBuilder> getClientTlsPoliciesOrBuilderList()

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

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

getDefaultInstanceForType()

public ListClientTlsPoliciesResponse getDefaultInstanceForType()
Returns
Type Description
ListClientTlsPoliciesResponse

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListClientTlsPoliciesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeClientTlsPolicies(int index)

public ListClientTlsPoliciesResponse.Builder removeClientTlsPolicies(int index)

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
ListClientTlsPoliciesResponse.Builder

setClientTlsPolicies(int index, ClientTlsPolicy value)

public ListClientTlsPoliciesResponse.Builder setClientTlsPolicies(int index, ClientTlsPolicy value)

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

Parameters
Name Description
index int
value ClientTlsPolicy
Returns
Type Description
ListClientTlsPoliciesResponse.Builder

setClientTlsPolicies(int index, ClientTlsPolicy.Builder builderForValue)

public ListClientTlsPoliciesResponse.Builder setClientTlsPolicies(int index, ClientTlsPolicy.Builder builderForValue)

List of ClientTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policies = 1;

Parameters
Name Description
index int
builderForValue ClientTlsPolicy.Builder
Returns
Type Description
ListClientTlsPoliciesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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