Class ListSecurityCenterServicesResponse.Builder (0.14.0)

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

Static Methods

getDescriptor()

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

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>
Returns
Type Description
ListSecurityCenterServicesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSecurityCenterServices(SecurityCenterService value)

public ListSecurityCenterServicesResponse.Builder addSecurityCenterServices(SecurityCenterService value)

The list of services.

repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;

Parameter
Name Description
value SecurityCenterService
Returns
Type Description
ListSecurityCenterServicesResponse.Builder

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;

Parameter
Name Description
builderForValue SecurityCenterService.Builder
Returns
Type Description
ListSecurityCenterServicesResponse.Builder

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;

Parameters
Name Description
index int
value SecurityCenterService
Returns
Type Description
ListSecurityCenterServicesResponse.Builder

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;

Parameters
Name Description
index int
builderForValue SecurityCenterService.Builder
Returns
Type Description
ListSecurityCenterServicesResponse.Builder

addSecurityCenterServicesBuilder()

public SecurityCenterService.Builder addSecurityCenterServicesBuilder()

The list of services.

repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;

Returns
Type Description
SecurityCenterService.Builder

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
Returns
Type Description
SecurityCenterService.Builder

build()

public ListSecurityCenterServicesResponse build()
Returns
Type Description
ListSecurityCenterServicesResponse

buildPartial()

public ListSecurityCenterServicesResponse buildPartial()
Returns
Type Description
ListSecurityCenterServicesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListSecurityCenterServicesResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ListSecurityCenterServicesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSecurityCenterServices()

public ListSecurityCenterServicesResponse.Builder clearSecurityCenterServices()

The list of services.

repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;

Returns
Type Description
ListSecurityCenterServicesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListSecurityCenterServicesResponse getDefaultInstanceForType()
Returns
Type Description
ListSecurityCenterServicesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Returns
Type Description
SecurityCenterService

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
Returns
Type Description
SecurityCenterService.Builder

getSecurityCenterServicesBuilderList()

public List<SecurityCenterService.Builder> getSecurityCenterServicesBuilderList()

The list of services.

repeated .google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_services = 1;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
List<SecurityCenterService>

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
Returns
Type Description
SecurityCenterServiceOrBuilder

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSecurityCenterServicesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSecurityCenterServicesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSecurityCenterServicesResponse.Builder
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
Returns
Type Description
ListSecurityCenterServicesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListSecurityCenterServicesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListSecurityCenterServicesResponse.Builder
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.

Returns
Type Description
ListSecurityCenterServicesResponse.Builder

This builder for chaining.

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.

Returns
Type Description
ListSecurityCenterServicesResponse.Builder

This builder for chaining.

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

public ListSecurityCenterServicesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListSecurityCenterServicesResponse.Builder
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;

Parameters
Name Description
index int
value SecurityCenterService
Returns
Type Description
ListSecurityCenterServicesResponse.Builder

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;

Parameters
Name Description
index int
builderForValue SecurityCenterService.Builder
Returns
Type Description
ListSecurityCenterServicesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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