Class QualysScanSettings.Builder (0.37.0)

public static final class QualysScanSettings.Builder extends GeneratedMessage.Builder<QualysScanSettings.Builder> implements QualysScanSettingsOrBuilder

Qualys Scan settings.

Protobuf type google.cloud.chronicle.v1.QualysScanSettings

Static Methods

getDescriptor()

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

Methods

build()

public QualysScanSettings build()
Returns
Type Description
QualysScanSettings

buildPartial()

public QualysScanSettings buildPartial()
Returns
Type Description
QualysScanSettings

clear()

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

clearApiType()

public QualysScanSettings.Builder clearApiType()

Supported Qualys Scan api type.

.google.cloud.chronicle.v1.QualysScanSettings.ApiType api_type = 3;

Returns
Type Description
QualysScanSettings.Builder

This builder for chaining.

clearAuthentication()

public QualysScanSettings.Builder clearAuthentication()

Input only. Authentication

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

Returns
Type Description
QualysScanSettings.Builder

clearHostname()

public QualysScanSettings.Builder clearHostname()

Hostname.

string hostname = 2;

Returns
Type Description
QualysScanSettings.Builder

This builder for chaining.

getApiType()

public QualysScanSettings.ApiType getApiType()

Supported Qualys Scan api type.

.google.cloud.chronicle.v1.QualysScanSettings.ApiType api_type = 3;

Returns
Type Description
QualysScanSettings.ApiType

The apiType.

getApiTypeValue()

public int getApiTypeValue()

Supported Qualys Scan api type.

.google.cloud.chronicle.v1.QualysScanSettings.ApiType api_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for apiType.

getAuthentication()

public UsernameSecretAuth getAuthentication()

Input only. Authentication

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

Returns
Type Description
UsernameSecretAuth

The authentication.

getAuthenticationBuilder()

public UsernameSecretAuth.Builder getAuthenticationBuilder()

Input only. Authentication

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

Returns
Type Description
UsernameSecretAuth.Builder

getAuthenticationOrBuilder()

public UsernameSecretAuthOrBuilder getAuthenticationOrBuilder()

Input only. Authentication

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

Returns
Type Description
UsernameSecretAuthOrBuilder

getDefaultInstanceForType()

public QualysScanSettings getDefaultInstanceForType()
Returns
Type Description
QualysScanSettings

getDescriptorForType()

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

getHostname()

public String getHostname()

Hostname.

string hostname = 2;

Returns
Type Description
String

The hostname.

getHostnameBytes()

public ByteString getHostnameBytes()

Hostname.

string hostname = 2;

Returns
Type Description
ByteString

The bytes for hostname.

hasAuthentication()

public boolean hasAuthentication()

Input only. Authentication

.google.cloud.chronicle.v1.UsernameSecretAuth 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(UsernameSecretAuth value)

public QualysScanSettings.Builder mergeAuthentication(UsernameSecretAuth value)

Input only. Authentication

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

Parameter
Name Description
value UsernameSecretAuth
Returns
Type Description
QualysScanSettings.Builder

mergeFrom(QualysScanSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setApiType(QualysScanSettings.ApiType value)

public QualysScanSettings.Builder setApiType(QualysScanSettings.ApiType value)

Supported Qualys Scan api type.

.google.cloud.chronicle.v1.QualysScanSettings.ApiType api_type = 3;

Parameter
Name Description
value QualysScanSettings.ApiType

The apiType to set.

Returns
Type Description
QualysScanSettings.Builder

This builder for chaining.

setApiTypeValue(int value)

public QualysScanSettings.Builder setApiTypeValue(int value)

Supported Qualys Scan api type.

.google.cloud.chronicle.v1.QualysScanSettings.ApiType api_type = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for apiType to set.

Returns
Type Description
QualysScanSettings.Builder

This builder for chaining.

setAuthentication(UsernameSecretAuth value)

public QualysScanSettings.Builder setAuthentication(UsernameSecretAuth value)

Input only. Authentication

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

Parameter
Name Description
value UsernameSecretAuth
Returns
Type Description
QualysScanSettings.Builder

setAuthentication(UsernameSecretAuth.Builder builderForValue)

public QualysScanSettings.Builder setAuthentication(UsernameSecretAuth.Builder builderForValue)

Input only. Authentication

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

Parameter
Name Description
builderForValue UsernameSecretAuth.Builder
Returns
Type Description
QualysScanSettings.Builder

setHostname(String value)

public QualysScanSettings.Builder setHostname(String value)

Hostname.

string hostname = 2;

Parameter
Name Description
value String

The hostname to set.

Returns
Type Description
QualysScanSettings.Builder

This builder for chaining.

setHostnameBytes(ByteString value)

public QualysScanSettings.Builder setHostnameBytes(ByteString value)

Hostname.

string hostname = 2;

Parameter
Name Description
value ByteString

The bytes for hostname to set.

Returns
Type Description
QualysScanSettings.Builder

This builder for chaining.