Class ListServerTlsPoliciesResponse.Builder (0.15.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.networksecurity.v1.ServerTlsPolicy>
Returns
TypeDescription
ListServerTlsPoliciesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListServerTlsPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueServerTlsPolicy
Returns
TypeDescription
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
NameDescription
builderForValueServerTlsPolicy.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueServerTlsPolicy
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServerTlsPolicy.Builder
Returns
TypeDescription
ListServerTlsPoliciesResponse.Builder

addServerTlsPoliciesBuilder()

public ServerTlsPolicy.Builder addServerTlsPoliciesBuilder()

List of ServerTlsPolicy resources.

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

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

build()

public ListServerTlsPoliciesResponse build()
Returns
TypeDescription
ListServerTlsPoliciesResponse

buildPartial()

public ListServerTlsPoliciesResponse buildPartial()
Returns
TypeDescription
ListServerTlsPoliciesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServerTlsPolicies()

public ListServerTlsPoliciesResponse.Builder clearServerTlsPolicies()

List of ServerTlsPolicy resources.

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

Returns
TypeDescription
ListServerTlsPoliciesResponse.Builder

clone()

public ListServerTlsPoliciesResponse.Builder clone()
Returns
TypeDescription
ListServerTlsPoliciesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListServerTlsPoliciesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListServerTlsPoliciesResponse

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.

getServerTlsPolicies(int index)

public ServerTlsPolicy getServerTlsPolicies(int index)

List of ServerTlsPolicy resources.

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

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

getServerTlsPoliciesBuilderList()

public List<ServerTlsPolicy.Builder> getServerTlsPoliciesBuilderList()

List of ServerTlsPolicy resources.

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

Returns
TypeDescription
List<Builder>

getServerTlsPoliciesCount()

public int getServerTlsPoliciesCount()

List of ServerTlsPolicy resources.

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

Returns
TypeDescription
int

getServerTlsPoliciesList()

public List<ServerTlsPolicy> getServerTlsPoliciesList()

List of ServerTlsPolicy resources.

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

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

getServerTlsPoliciesOrBuilderList()

public List<? extends ServerTlsPolicyOrBuilder> getServerTlsPoliciesOrBuilderList()

List of ServerTlsPolicy resources.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListServerTlsPoliciesResponse other)

public ListServerTlsPoliciesResponse.Builder mergeFrom(ListServerTlsPoliciesResponse other)
Parameter
NameDescription
otherListServerTlsPoliciesResponse
Returns
TypeDescription
ListServerTlsPoliciesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueServerTlsPolicy
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServerTlsPolicy.Builder
Returns
TypeDescription
ListServerTlsPoliciesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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