Send feedback
Class ListSecurityCenterServicesResponse.Builder (0.23.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.23.0 keyboard_arrow_down
public static final class ListSecurityCenterServicesResponse . Builder extends GeneratedMessageV3 . Builder<ListSecurityCenterServicesResponse . Builder > implements ListSecurityCenterServicesResponseOrBuilder
Response message for
SecurityCenterManagement.ListSecurityCenterServices .
Protobuf type
google.cloud.securitycentermanagement.v1.ListSecurityCenterServicesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllSecurityCenterServices(Iterable<? extends SecurityCenterService> values)
public ListSecurityCenterServicesResponse . Builder addAllSecurityCenterServices ( Iterable <? extends SecurityCenterService > values )
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
Parameter
Name
Description
values
Iterable <? extends com.google.cloud.securitycentermanagement.v1.SecurityCenterService >
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSecurityCenterServicesResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
addSecurityCenterServices(SecurityCenterService value)
public ListSecurityCenterServicesResponse . Builder addSecurityCenterServices ( SecurityCenterService value )
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
addSecurityCenterServices(SecurityCenterService.Builder builderForValue)
public ListSecurityCenterServicesResponse . Builder addSecurityCenterServices ( SecurityCenterService . Builder builderForValue )
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
addSecurityCenterServices(int index, SecurityCenterService value)
public ListSecurityCenterServicesResponse . Builder addSecurityCenterServices ( int index , SecurityCenterService value )
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
addSecurityCenterServices(int index, SecurityCenterService.Builder builderForValue)
public ListSecurityCenterServicesResponse . Builder addSecurityCenterServices ( int index , SecurityCenterService . Builder builderForValue )
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
addSecurityCenterServicesBuilder()
public SecurityCenterService . Builder addSecurityCenterServicesBuilder ()
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
addSecurityCenterServicesBuilder(int index)
public SecurityCenterService . Builder addSecurityCenterServicesBuilder ( int index )
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
Parameter
Name
Description
index
int
build()
public ListSecurityCenterServicesResponse build ()
buildPartial()
public ListSecurityCenterServicesResponse buildPartial ()
clear()
public ListSecurityCenterServicesResponse . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSecurityCenterServicesResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearNextPageToken()
public ListSecurityCenterServicesResponse . Builder clearNextPageToken ()
A pagination token. To retrieve the next page of results, call the method
again with this token.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSecurityCenterServicesResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSecurityCenterServices()
public ListSecurityCenterServicesResponse . Builder clearSecurityCenterServices ()
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
clone()
public ListSecurityCenterServicesResponse . Builder clone ()
Overrides
getDefaultInstanceForType()
public ListSecurityCenterServicesResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getNextPageToken()
public String getNextPageToken ()
A pagination token. To retrieve the next page of results, call the method
again with this token.
string next_page_token = 2;
Returns
Type
Description
String
The nextPageToken.
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes ()
A pagination token. To retrieve the next page of results, call the method
again with this token.
string next_page_token = 2;
Returns
Type
Description
ByteString
The bytes for nextPageToken.
getSecurityCenterServices(int index)
public SecurityCenterService getSecurityCenterServices ( int index )
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
Parameter
Name
Description
index
int
getSecurityCenterServicesBuilder(int index)
public SecurityCenterService . Builder getSecurityCenterServicesBuilder ( int index )
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
Parameter
Name
Description
index
int
getSecurityCenterServicesBuilderList()
public List<SecurityCenterService . Builder > getSecurityCenterServicesBuilderList ()
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
getSecurityCenterServicesCount()
public int getSecurityCenterServicesCount ()
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
Returns
Type
Description
int
getSecurityCenterServicesList()
public List<SecurityCenterService> getSecurityCenterServicesList ()
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
getSecurityCenterServicesOrBuilder(int index)
public SecurityCenterServiceOrBuilder getSecurityCenterServicesOrBuilder ( int index )
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
Parameter
Name
Description
index
int
getSecurityCenterServicesOrBuilderList()
public List <? extends SecurityCenterServiceOrBuilder > getSecurityCenterServicesOrBuilderList ()
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
Returns
Type
Description
List <? extends com.google.cloud.securitycentermanagement.v1.SecurityCenterServiceOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ListSecurityCenterServicesResponse other)
public ListSecurityCenterServicesResponse . Builder mergeFrom ( ListSecurityCenterServicesResponse other )
public ListSecurityCenterServicesResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ListSecurityCenterServicesResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSecurityCenterServicesResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeSecurityCenterServices(int index)
public ListSecurityCenterServicesResponse . Builder removeSecurityCenterServices ( int index )
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
Parameter
Name
Description
index
int
setField(Descriptors.FieldDescriptor field, Object value)
public ListSecurityCenterServicesResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setNextPageToken(String value)
public ListSecurityCenterServicesResponse . Builder setNextPageToken ( String value )
A pagination token. To retrieve the next page of results, call the method
again with this token.
string next_page_token = 2;
Parameter
Name
Description
value
String
The nextPageToken to set.
setNextPageTokenBytes(ByteString value)
public ListSecurityCenterServicesResponse . Builder setNextPageTokenBytes ( ByteString value )
A pagination token. To retrieve the next page of results, call the method
again with this token.
string next_page_token = 2;
Parameter
Name
Description
value
ByteString
The bytes for nextPageToken to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSecurityCenterServicesResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSecurityCenterServices(int index, SecurityCenterService value)
public ListSecurityCenterServicesResponse . Builder setSecurityCenterServices ( int index , SecurityCenterService value )
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
setSecurityCenterServices(int index, SecurityCenterService.Builder builderForValue)
public ListSecurityCenterServicesResponse . Builder setSecurityCenterServices ( int index , SecurityCenterService . Builder builderForValue )
The list of services.
repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSecurityCenterServicesResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]