public static final class ListDetectorsResponse.Builder extends GeneratedMessageV3.Builder<ListDetectorsResponse.Builder> implements ListDetectorsResponseOrBuilder
Response message for ListDetectors.
Protobuf type google.cloud.securitycenter.settings.v1beta1.ListDetectorsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllDetectors(Iterable<? extends Detector> values)
public ListDetectorsResponse.Builder addAllDetectors(Iterable<? extends Detector> values)
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.securitycenter.settings.v1beta1.Detector>
|
Returns
addDetectors(Detector value)
public ListDetectorsResponse.Builder addDetectors(Detector value)
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Parameter
Returns
addDetectors(Detector.Builder builderForValue)
public ListDetectorsResponse.Builder addDetectors(Detector.Builder builderForValue)
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Parameter
Returns
addDetectors(int index, Detector value)
public ListDetectorsResponse.Builder addDetectors(int index, Detector value)
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Parameters
Returns
addDetectors(int index, Detector.Builder builderForValue)
public ListDetectorsResponse.Builder addDetectors(int index, Detector.Builder builderForValue)
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Parameters
Returns
addDetectorsBuilder()
public Detector.Builder addDetectorsBuilder()
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Returns
addDetectorsBuilder(int index)
public Detector.Builder addDetectorsBuilder(int index)
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDetectorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListDetectorsResponse build()
Returns
buildPartial()
public ListDetectorsResponse buildPartial()
Returns
clear()
public ListDetectorsResponse.Builder clear()
Returns
Overrides
clearDetectors()
public ListDetectorsResponse.Builder clearDetectors()
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListDetectorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListDetectorsResponse.Builder clearNextPageToken()
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDetectorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListDetectorsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListDetectorsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDetectors(int index)
public Detector getDetectors(int index)
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Parameter
Returns
getDetectorsBuilder(int index)
public Detector.Builder getDetectorsBuilder(int index)
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Parameter
Returns
getDetectorsBuilderList()
public List<Detector.Builder> getDetectorsBuilderList()
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Returns
getDetectorsCount()
public int getDetectorsCount()
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Returns
getDetectorsList()
public List<Detector> getDetectorsList()
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Returns
getDetectorsOrBuilder(int index)
public DetectorOrBuilder getDetectorsOrBuilder(int index)
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Parameter
Returns
getDetectorsOrBuilderList()
public List<? extends DetectorOrBuilder> getDetectorsOrBuilderList()
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Returns
Type | Description |
List<? extends com.google.cloud.securitycenter.settings.v1beta1.DetectorOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListDetectorsResponse other)
public ListDetectorsResponse.Builder mergeFrom(ListDetectorsResponse other)
Parameter
Returns
public ListDetectorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListDetectorsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDetectorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeDetectors(int index)
public ListDetectorsResponse.Builder removeDetectors(int index)
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Parameter
Returns
setDetectors(int index, Detector value)
public ListDetectorsResponse.Builder setDetectors(int index, Detector value)
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Parameters
Returns
setDetectors(int index, Detector.Builder builderForValue)
public ListDetectorsResponse.Builder setDetectors(int index, Detector.Builder builderForValue)
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListDetectorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListDetectorsResponse.Builder setNextPageToken(String value)
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListDetectorsResponse.Builder setNextPageTokenBytes(ByteString value)
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
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 ListDetectorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDetectorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides