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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListServerTlsPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addServerTlsPoliciesBuilder()
public ServerTlsPolicy.Builder addServerTlsPoliciesBuilder()
List of ServerTlsPolicy resources.
repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;
Returns
addServerTlsPoliciesBuilder(int index)
public ServerTlsPolicy.Builder addServerTlsPoliciesBuilder(int index)
List of ServerTlsPolicy resources.
repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;
Parameter
Returns
build()
public ListServerTlsPoliciesResponse build()
Returns
buildPartial()
public ListServerTlsPoliciesResponse buildPartial()
Returns
clear()
public ListServerTlsPoliciesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListServerTlsPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListServerTlsPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearServerTlsPolicies()
public ListServerTlsPoliciesResponse.Builder clearServerTlsPolicies()
List of ServerTlsPolicy resources.
repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;
Returns
clone()
public ListServerTlsPoliciesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListServerTlsPoliciesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
getServerTlsPoliciesBuilder(int index)
public ServerTlsPolicy.Builder getServerTlsPoliciesBuilder(int index)
List of ServerTlsPolicy resources.
repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;
Parameter
Returns
getServerTlsPoliciesBuilderList()
public List<ServerTlsPolicy.Builder> getServerTlsPoliciesBuilderList()
List of ServerTlsPolicy resources.
repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;
Returns
getServerTlsPoliciesCount()
public int getServerTlsPoliciesCount()
List of ServerTlsPolicy resources.
repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;
Returns
getServerTlsPoliciesList()
public List<ServerTlsPolicy> getServerTlsPoliciesList()
List of ServerTlsPolicy resources.
repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;
Returns
getServerTlsPoliciesOrBuilder(int index)
public ServerTlsPolicyOrBuilder getServerTlsPoliciesOrBuilder(int index)
List of ServerTlsPolicy resources.
repeated .google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policies = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListServerTlsPoliciesResponse other)
public ListServerTlsPoliciesResponse.Builder mergeFrom(ListServerTlsPoliciesResponse other)
Parameter
Returns
public ListServerTlsPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListServerTlsPoliciesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListServerTlsPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListServerTlsPoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListServerTlsPoliciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListServerTlsPoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides