Class ListServerTlsPoliciesResponse.Builder (0.57.0)

public static final class ListServerTlsPoliciesResponse.Builder extends GeneratedMessageV3.Builder<ListServerTlsPoliciesResponse.Builder> implements ListServerTlsPoliciesResponseOrBuilder

Response returned by the ListServerTlsPolicies method.

Protobuf type google.cloud.networksecurity.v1.ListServerTlsPoliciesResponse

Static Methods

getDescriptor()

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

Methods

addAllServerTlsPolicies(Iterable<? extends ServerTlsPolicy> values)

public ListServerTlsPoliciesResponse.Builder addAllServerTlsPolicies(Iterable<? extends ServerTlsPolicy> values)

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addServerTlsPolicies(ServerTlsPolicy value)

public ListServerTlsPoliciesResponse.Builder addServerTlsPolicies(ServerTlsPolicy value)

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

Parameter
Name Description
value ServerTlsPolicy
Returns
Type Description
ListServerTlsPoliciesResponse.Builder

addServerTlsPolicies(ServerTlsPolicy.Builder builderForValue)

public ListServerTlsPoliciesResponse.Builder addServerTlsPolicies(ServerTlsPolicy.Builder builderForValue)

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

Parameter
Name Description
builderForValue ServerTlsPolicy.Builder
Returns
Type Description
ListServerTlsPoliciesResponse.Builder

addServerTlsPolicies(int index, ServerTlsPolicy value)

public ListServerTlsPoliciesResponse.Builder addServerTlsPolicies(int index, ServerTlsPolicy value)

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

Parameters
Name Description
index int
value ServerTlsPolicy
Returns
Type Description
ListServerTlsPoliciesResponse.Builder

addServerTlsPolicies(int index, ServerTlsPolicy.Builder builderForValue)

public ListServerTlsPoliciesResponse.Builder addServerTlsPolicies(int index, ServerTlsPolicy.Builder builderForValue)

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

Parameters
Name Description
index int
builderForValue ServerTlsPolicy.Builder
Returns
Type Description
ListServerTlsPoliciesResponse.Builder

addServerTlsPoliciesBuilder()

public ServerTlsPolicy.Builder addServerTlsPoliciesBuilder()

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

Returns
Type Description
ServerTlsPolicy.Builder

addServerTlsPoliciesBuilder(int index)

public ServerTlsPolicy.Builder addServerTlsPoliciesBuilder(int index)

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
ServerTlsPolicy.Builder

build()

public ListServerTlsPoliciesResponse build()
Returns
Type Description
ListServerTlsPoliciesResponse

buildPartial()

public ListServerTlsPoliciesResponse buildPartial()
Returns
Type Description
ListServerTlsPoliciesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServerTlsPolicies()

public ListServerTlsPoliciesResponse.Builder clearServerTlsPolicies()

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

Returns
Type Description
ListServerTlsPoliciesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListServerTlsPoliciesResponse getDefaultInstanceForType()
Returns
Type Description
ListServerTlsPoliciesResponse

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.

getServerTlsPolicies(int index)

public ServerTlsPolicy getServerTlsPolicies(int index)

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
ServerTlsPolicy

getServerTlsPoliciesBuilder(int index)

public ServerTlsPolicy.Builder getServerTlsPoliciesBuilder(int index)

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
ServerTlsPolicy.Builder

getServerTlsPoliciesBuilderList()

public List<ServerTlsPolicy.Builder> getServerTlsPoliciesBuilderList()

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

Returns
Type Description
List<Builder>

getServerTlsPoliciesCount()

public int getServerTlsPoliciesCount()

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

Returns
Type Description
int

getServerTlsPoliciesList()

public List<ServerTlsPolicy> getServerTlsPoliciesList()

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

Returns
Type Description
List<ServerTlsPolicy>

getServerTlsPoliciesOrBuilder(int index)

public ServerTlsPolicyOrBuilder getServerTlsPoliciesOrBuilder(int index)

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
ServerTlsPolicyOrBuilder

getServerTlsPoliciesOrBuilderList()

public List<? extends ServerTlsPolicyOrBuilder> getServerTlsPoliciesOrBuilderList()

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListServerTlsPoliciesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeServerTlsPolicies(int index)

public ListServerTlsPoliciesResponse.Builder removeServerTlsPolicies(int index)

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
ListServerTlsPoliciesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setServerTlsPolicies(int index, ServerTlsPolicy value)

public ListServerTlsPoliciesResponse.Builder setServerTlsPolicies(int index, ServerTlsPolicy value)

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

Parameters
Name Description
index int
value ServerTlsPolicy
Returns
Type Description
ListServerTlsPoliciesResponse.Builder

setServerTlsPolicies(int index, ServerTlsPolicy.Builder builderForValue)

public ListServerTlsPoliciesResponse.Builder setServerTlsPolicies(int index, ServerTlsPolicy.Builder builderForValue)

List of ServerTlsPolicy resources.

repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;

Parameters
Name Description
index int
builderForValue ServerTlsPolicy.Builder
Returns
Type Description
ListServerTlsPoliciesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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