Class Rapid7InsightSettings (0.37.0)

public final class Rapid7InsightSettings extends GeneratedMessage implements Rapid7InsightSettingsOrBuilder

Rapid7 Insight settings.

Protobuf type google.cloud.chronicle.v1.Rapid7InsightSettings

Static Fields

AUTHENTICATION_FIELD_NUMBER

public static final int AUTHENTICATION_FIELD_NUMBER
Field Value
Type Description
int

ENDPOINT_FIELD_NUMBER

public static final int ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

HOSTNAME_FIELD_NUMBER

public static final int HOSTNAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Rapid7InsightSettings getDefaultInstance()
Returns
Type Description
Rapid7InsightSettings

getDescriptor()

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

newBuilder()

public static Rapid7InsightSettings.Builder newBuilder()
Returns
Type Description
Rapid7InsightSettings.Builder

newBuilder(Rapid7InsightSettings prototype)

public static Rapid7InsightSettings.Builder newBuilder(Rapid7InsightSettings prototype)
Parameter
Name Description
prototype Rapid7InsightSettings
Returns
Type Description
Rapid7InsightSettings.Builder

parseDelimitedFrom(InputStream input)

public static Rapid7InsightSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Rapid7InsightSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Rapid7InsightSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Rapid7InsightSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Rapid7InsightSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Rapid7InsightSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Rapid7InsightSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Rapid7InsightSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Rapid7InsightSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Rapid7InsightSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Rapid7InsightSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Rapid7InsightSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Rapid7InsightSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Rapid7InsightSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Rapid7InsightSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Rapid7InsightSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Rapid7InsightSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Rapid7InsightSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Rapid7InsightSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Rapid7InsightSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Rapid7InsightSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Rapid7InsightSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Rapid7InsightSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Rapid7InsightSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Rapid7InsightSettings> parser()
Returns
Type Description
Parser<Rapid7InsightSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAuthentication()

public HttpHeaderAuth getAuthentication()

Input only. Authentication.

.google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
HttpHeaderAuth

The authentication.

getAuthenticationOrBuilder()

public HttpHeaderAuthOrBuilder getAuthenticationOrBuilder()

Input only. Authentication.

.google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
HttpHeaderAuthOrBuilder

getDefaultInstanceForType()

public Rapid7InsightSettings getDefaultInstanceForType()
Returns
Type Description
Rapid7InsightSettings

getEndpoint()

public String getEndpoint()

Rapid7 API endpoint. Should be "vulnerabilities" or "assets".

string endpoint = 2;

Returns
Type Description
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

Rapid7 API endpoint. Should be "vulnerabilities" or "assets".

string endpoint = 2;

Returns
Type Description
ByteString

The bytes for endpoint.

getHostname()

public String getHostname()

API Hostname.

string hostname = 3;

Returns
Type Description
String

The hostname.

getHostnameBytes()

public ByteString getHostnameBytes()

API Hostname.

string hostname = 3;

Returns
Type Description
ByteString

The bytes for hostname.

getParserForType()

public Parser<Rapid7InsightSettings> getParserForType()
Returns
Type Description
Parser<Rapid7InsightSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAuthentication()

public boolean hasAuthentication()

Input only. Authentication.

.google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

Whether the authentication field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Rapid7InsightSettings.Builder newBuilderForType()
Returns
Type Description
Rapid7InsightSettings.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Rapid7InsightSettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Rapid7InsightSettings.Builder
Overrides

toBuilder()

public Rapid7InsightSettings.Builder toBuilder()
Returns
Type Description
Rapid7InsightSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException