Class Rapid7InsightSettings.Builder (0.37.0)

public static final class Rapid7InsightSettings.Builder extends GeneratedMessage.Builder<Rapid7InsightSettings.Builder> implements Rapid7InsightSettingsOrBuilder

Rapid7 Insight settings.

Protobuf type google.cloud.chronicle.v1.Rapid7InsightSettings

Static Methods

getDescriptor()

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

Methods

build()

public Rapid7InsightSettings build()
Returns
Type Description
Rapid7InsightSettings

buildPartial()

public Rapid7InsightSettings buildPartial()
Returns
Type Description
Rapid7InsightSettings

clear()

public Rapid7InsightSettings.Builder clear()
Returns
Type Description
Rapid7InsightSettings.Builder
Overrides

clearAuthentication()

public Rapid7InsightSettings.Builder clearAuthentication()

Input only. Authentication.

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

Returns
Type Description
Rapid7InsightSettings.Builder

clearEndpoint()

public Rapid7InsightSettings.Builder clearEndpoint()

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

string endpoint = 2;

Returns
Type Description
Rapid7InsightSettings.Builder

This builder for chaining.

clearHostname()

public Rapid7InsightSettings.Builder clearHostname()

API Hostname.

string hostname = 3;

Returns
Type Description
Rapid7InsightSettings.Builder

This builder for chaining.

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.

getAuthenticationBuilder()

public HttpHeaderAuth.Builder getAuthenticationBuilder()

Input only. Authentication.

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

Returns
Type Description
HttpHeaderAuth.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAuthentication(HttpHeaderAuth value)

public Rapid7InsightSettings.Builder mergeAuthentication(HttpHeaderAuth value)

Input only. Authentication.

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

Parameter
Name Description
value HttpHeaderAuth
Returns
Type Description
Rapid7InsightSettings.Builder

mergeFrom(Rapid7InsightSettings other)

public Rapid7InsightSettings.Builder mergeFrom(Rapid7InsightSettings other)
Parameter
Name Description
other Rapid7InsightSettings
Returns
Type Description
Rapid7InsightSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Rapid7InsightSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Rapid7InsightSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Rapid7InsightSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Rapid7InsightSettings.Builder
Overrides

setAuthentication(HttpHeaderAuth value)

public Rapid7InsightSettings.Builder setAuthentication(HttpHeaderAuth value)

Input only. Authentication.

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

Parameter
Name Description
value HttpHeaderAuth
Returns
Type Description
Rapid7InsightSettings.Builder

setAuthentication(HttpHeaderAuth.Builder builderForValue)

public Rapid7InsightSettings.Builder setAuthentication(HttpHeaderAuth.Builder builderForValue)

Input only. Authentication.

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

Parameter
Name Description
builderForValue HttpHeaderAuth.Builder
Returns
Type Description
Rapid7InsightSettings.Builder

setEndpoint(String value)

public Rapid7InsightSettings.Builder setEndpoint(String value)

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

string endpoint = 2;

Parameter
Name Description
value String

The endpoint to set.

Returns
Type Description
Rapid7InsightSettings.Builder

This builder for chaining.

setEndpointBytes(ByteString value)

public Rapid7InsightSettings.Builder setEndpointBytes(ByteString value)

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

string endpoint = 2;

Parameter
Name Description
value ByteString

The bytes for endpoint to set.

Returns
Type Description
Rapid7InsightSettings.Builder

This builder for chaining.

setHostname(String value)

public Rapid7InsightSettings.Builder setHostname(String value)

API Hostname.

string hostname = 3;

Parameter
Name Description
value String

The hostname to set.

Returns
Type Description
Rapid7InsightSettings.Builder

This builder for chaining.

setHostnameBytes(ByteString value)

public Rapid7InsightSettings.Builder setHostnameBytes(ByteString value)

API Hostname.

string hostname = 3;

Parameter
Name Description
value ByteString

The bytes for hostname to set.

Returns
Type Description
Rapid7InsightSettings.Builder

This builder for chaining.