Class ListDetectorsResponse (0.6.1)

public final class ListDetectorsResponse extends GeneratedMessageV3 implements ListDetectorsResponseOrBuilder

Response message for ListDetectors.

Protobuf type google.cloud.securitycenter.settings.v1beta1.ListDetectorsResponse

Static Fields

DETECTORS_FIELD_NUMBER

public static final int DETECTORS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListDetectorsResponse getDefaultInstance()
Returns
TypeDescription
ListDetectorsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListDetectorsResponse.Builder newBuilder()
Returns
TypeDescription
ListDetectorsResponse.Builder

newBuilder(ListDetectorsResponse prototype)

public static ListDetectorsResponse.Builder newBuilder(ListDetectorsResponse prototype)
Parameter
NameDescription
prototypeListDetectorsResponse
Returns
TypeDescription
ListDetectorsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListDetectorsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListDetectorsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDetectorsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDetectorsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListDetectorsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListDetectorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListDetectorsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDetectorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListDetectorsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListDetectorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListDetectorsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDetectorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListDetectorsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListDetectorsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDetectorsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDetectorsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListDetectorsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListDetectorsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDetectorsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDetectorsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListDetectorsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListDetectorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListDetectorsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDetectorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListDetectorsResponse> parser()
Returns
TypeDescription
Parser<ListDetectorsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListDetectorsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDetectorsResponse

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

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.

getParserForType()

public Parser<ListDetectorsResponse> getParserForType()
Returns
TypeDescription
Parser<ListDetectorsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListDetectorsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListDetectorsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListDetectorsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListDetectorsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListDetectorsResponse.Builder toBuilder()
Returns
TypeDescription
ListDetectorsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException