Class ListClientTlsPoliciesResponse.Builder (0.38.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.networksecurity.v1.ClientTlsPolicy>
Returns
TypeDescription
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
NameDescription
valueClientTlsPolicy
Returns
TypeDescription
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
NameDescription
builderForValueClientTlsPolicy.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueClientTlsPolicy
Returns
TypeDescription
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
NameDescription
indexint
builderForValueClientTlsPolicy.Builder
Returns
TypeDescription
ListClientTlsPoliciesResponse.Builder

addClientTlsPoliciesBuilder()

public ClientTlsPolicy.Builder addClientTlsPoliciesBuilder()

List of ClientTlsPolicy resources.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ClientTlsPolicy.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListClientTlsPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListClientTlsPoliciesResponse.Builder
Overrides

build()

public ListClientTlsPoliciesResponse build()
Returns
TypeDescription
ListClientTlsPoliciesResponse

buildPartial()

public ListClientTlsPoliciesResponse buildPartial()
Returns
TypeDescription
ListClientTlsPoliciesResponse

clear()

public ListClientTlsPoliciesResponse.Builder clear()
Returns
TypeDescription
ListClientTlsPoliciesResponse.Builder
Overrides

clearClientTlsPolicies()

public ListClientTlsPoliciesResponse.Builder clearClientTlsPolicies()

List of ClientTlsPolicy resources.

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

Returns
TypeDescription
ListClientTlsPoliciesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListClientTlsPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListClientTlsPoliciesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListClientTlsPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListClientTlsPoliciesResponse.Builder
Overrides

clone()

public ListClientTlsPoliciesResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ClientTlsPolicy.Builder

getClientTlsPoliciesBuilderList()

public List<ClientTlsPolicy.Builder> getClientTlsPoliciesBuilderList()

List of ClientTlsPolicy resources.

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

Returns
TypeDescription
List<Builder>

getClientTlsPoliciesCount()

public int getClientTlsPoliciesCount()

List of ClientTlsPolicy resources.

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

Returns
TypeDescription
int

getClientTlsPoliciesList()

public List<ClientTlsPolicy> getClientTlsPoliciesList()

List of ClientTlsPolicy resources.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ClientTlsPolicyOrBuilder

getClientTlsPoliciesOrBuilderList()

public List<? extends ClientTlsPolicyOrBuilder> getClientTlsPoliciesOrBuilderList()

List of ClientTlsPolicy resources.

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

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

getDefaultInstanceForType()

public ListClientTlsPoliciesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListClientTlsPoliciesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListClientTlsPoliciesResponse other)

public ListClientTlsPoliciesResponse.Builder mergeFrom(ListClientTlsPoliciesResponse other)
Parameter
NameDescription
otherListClientTlsPoliciesResponse
Returns
TypeDescription
ListClientTlsPoliciesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListClientTlsPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListClientTlsPoliciesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListClientTlsPoliciesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListClientTlsPoliciesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListClientTlsPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueClientTlsPolicy
Returns
TypeDescription
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
NameDescription
indexint
builderForValueClientTlsPolicy.Builder
Returns
TypeDescription
ListClientTlsPoliciesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListClientTlsPoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListClientTlsPoliciesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListClientTlsPoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListClientTlsPoliciesResponse.Builder
Overrides