public static final class ListSecurityCenterServicesResponse.Builder extends GeneratedMessageV3.Builder<ListSecurityCenterServicesResponse.Builder> implements ListSecurityCenterServicesResponseOrBuilder
Response message for listing Security Command Center services.
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 token identifying a page of results the server should return.
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 token identifying a page of results the server should return.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token identifying a page of results the server should return.
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 token identifying a page of results the server should return.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListSecurityCenterServicesResponse.Builder setNextPageTokenBytes(ByteString value)
A token identifying a page of results the server should return.
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