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
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
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>
|
addDetectors(Detector value)
public ListDetectorsResponse.Builder addDetectors(Detector value)
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
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;
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;
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;
addDetectorsBuilder()
public Detector.Builder addDetectorsBuilder()
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDetectorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListDetectorsResponse build()
buildPartial()
public ListDetectorsResponse buildPartial()
clear()
public ListDetectorsResponse.Builder clear()
Overrides
clearDetectors()
public ListDetectorsResponse.Builder clearDetectors()
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
clearField(Descriptors.FieldDescriptor field)
public ListDetectorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDetectorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListDetectorsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListDetectorsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
getDetectorsBuilderList()
public List<Detector.Builder> getDetectorsBuilderList()
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
getDetectorsCount()
public int getDetectorsCount()
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Returns |
---|
Type | Description |
int | |
getDetectorsList()
public List<Detector> getDetectorsList()
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
getDetectorsOrBuilder(int index)
public DetectorOrBuilder getDetectorsOrBuilder(int index)
The detectors from the specified organization.
repeated .google.cloud.securitycenter.settings.v1beta1.Detector detectors = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListDetectorsResponse other)
public ListDetectorsResponse.Builder mergeFrom(ListDetectorsResponse other)
public ListDetectorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListDetectorsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDetectorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListDetectorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDetectorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDetectorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides