Class ListDetectorsResponse.Builder (0.34.0)

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
TypeDescription
Descriptor

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
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.settings.v1beta1.Detector>
Returns
TypeDescription
ListDetectorsResponse.Builder

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
NameDescription
valueDetector
Returns
TypeDescription
ListDetectorsResponse.Builder

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
NameDescription
builderForValueDetector.Builder
Returns
TypeDescription
ListDetectorsResponse.Builder

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
NameDescription
indexint
valueDetector
Returns
TypeDescription
ListDetectorsResponse.Builder

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
NameDescription
indexint
builderForValueDetector.Builder
Returns
TypeDescription
ListDetectorsResponse.Builder

addDetectorsBuilder()

public Detector.Builder addDetectorsBuilder()

The detectors from the specified organization.

repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;

Returns
TypeDescription
Detector.Builder

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
NameDescription
indexint
Returns
TypeDescription
Detector.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListDetectorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListDetectorsResponse.Builder
Overrides

build()

public ListDetectorsResponse build()
Returns
TypeDescription
ListDetectorsResponse

buildPartial()

public ListDetectorsResponse buildPartial()
Returns
TypeDescription
ListDetectorsResponse

clear()

public ListDetectorsResponse.Builder clear()
Returns
TypeDescription
ListDetectorsResponse.Builder
Overrides

clearDetectors()

public ListDetectorsResponse.Builder clearDetectors()

The detectors from the specified organization.

repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;

Returns
TypeDescription
ListDetectorsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDetectorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListDetectorsResponse.Builder
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
TypeDescription
ListDetectorsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDetectorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListDetectorsResponse.Builder
Overrides

clone()

public ListDetectorsResponse.Builder clone()
Returns
TypeDescription
ListDetectorsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListDetectorsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDetectorsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
NameDescription
indexint
Returns
TypeDescription
Detector

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
NameDescription
indexint
Returns
TypeDescription
Detector.Builder

getDetectorsBuilderList()

public List<Detector.Builder> getDetectorsBuilderList()

The detectors from the specified organization.

repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;

Returns
TypeDescription
List<Builder>

getDetectorsCount()

public int getDetectorsCount()

The detectors from the specified organization.

repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;

Returns
TypeDescription
int

getDetectorsList()

public List<Detector> getDetectorsList()

The detectors from the specified organization.

repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;

Returns
TypeDescription
List<Detector>

getDetectorsOrBuilder(int index)

public DetectorOrBuilder getDetectorsOrBuilder(int index)

The detectors from the specified organization.

repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DetectorOrBuilder

getDetectorsOrBuilderList()

public List<? extends DetectorOrBuilder> getDetectorsOrBuilderList()

The detectors from the specified organization.

repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDetectorsResponse other)

public ListDetectorsResponse.Builder mergeFrom(ListDetectorsResponse other)
Parameter
NameDescription
otherListDetectorsResponse
Returns
TypeDescription
ListDetectorsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListDetectorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDetectorsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListDetectorsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListDetectorsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDetectorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDetectorsResponse.Builder
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
NameDescription
indexint
Returns
TypeDescription
ListDetectorsResponse.Builder

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
NameDescription
indexint
valueDetector
Returns
TypeDescription
ListDetectorsResponse.Builder

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
NameDescription
indexint
builderForValueDetector.Builder
Returns
TypeDescription
ListDetectorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListDetectorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListDetectorsResponse.Builder
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListDetectorsResponse.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListDetectorsResponse.Builder

This builder for chaining.

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

public ListDetectorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDetectorsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDetectorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDetectorsResponse.Builder
Overrides