Class ThreatConnectIoCV3Settings.Builder (0.37.0)

public static final class ThreatConnectIoCV3Settings.Builder extends GeneratedMessage.Builder<ThreatConnectIoCV3Settings.Builder> implements ThreatConnectIoCV3SettingsOrBuilder

ThreatConnectIoCV3Settings

Protobuf type google.cloud.chronicle.v1.ThreatConnectIoCV3Settings

Static Methods

getDescriptor()

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

Methods

addAllFields(Iterable<String> values)

public ThreatConnectIoCV3Settings.Builder addAllFields(Iterable<String> values)

Optional. Fields

repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The fields to add.

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.

addAllOwners(Iterable<String> values)

public ThreatConnectIoCV3Settings.Builder addAllOwners(Iterable<String> values)

Required. Owners.

repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<String>

The owners to add.

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.

addFields(String value)

public ThreatConnectIoCV3Settings.Builder addFields(String value)

Optional. Fields

repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The fields to add.

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.

addFieldsBytes(ByteString value)

public ThreatConnectIoCV3Settings.Builder addFieldsBytes(ByteString value)

Optional. Fields

repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the fields to add.

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.

addOwners(String value)

public ThreatConnectIoCV3Settings.Builder addOwners(String value)

Required. Owners.

repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The owners to add.

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.

addOwnersBytes(ByteString value)

public ThreatConnectIoCV3Settings.Builder addOwnersBytes(ByteString value)

Required. Owners.

repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes of the owners to add.

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.

build()

public ThreatConnectIoCV3Settings build()
Returns
Type Description
ThreatConnectIoCV3Settings

buildPartial()

public ThreatConnectIoCV3Settings buildPartial()
Returns
Type Description
ThreatConnectIoCV3Settings

clear()

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

clearAuthentication()

public ThreatConnectIoCV3Settings.Builder clearAuthentication()

Required. Input only. UsernameSecretAuth.

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

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

clearFields()

public ThreatConnectIoCV3Settings.Builder clearFields()

Optional. Fields

repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.

clearHostname()

public ThreatConnectIoCV3Settings.Builder clearHostname()

Required. hostname.

string hostname = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.

clearOwners()

public ThreatConnectIoCV3Settings.Builder clearOwners()

Required. Owners.

repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.

clearSchedule()

public ThreatConnectIoCV3Settings.Builder clearSchedule()

Optional. Schedule

int32 schedule = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.

clearTqlQuery()

public ThreatConnectIoCV3Settings.Builder clearTqlQuery()

Optional. ThreatConnect Query Language filter.

string tql_query = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.

getAuthentication()

public UsernameSecretAuth getAuthentication()

Required. Input only. UsernameSecretAuth.

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

Returns
Type Description
UsernameSecretAuth

The authentication.

getAuthenticationBuilder()

public UsernameSecretAuth.Builder getAuthenticationBuilder()

Required. Input only. UsernameSecretAuth.

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

Returns
Type Description
UsernameSecretAuth.Builder

getAuthenticationOrBuilder()

public UsernameSecretAuthOrBuilder getAuthenticationOrBuilder()

Required. Input only. UsernameSecretAuth.

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

Returns
Type Description
UsernameSecretAuthOrBuilder

getDefaultInstanceForType()

public ThreatConnectIoCV3Settings getDefaultInstanceForType()
Returns
Type Description
ThreatConnectIoCV3Settings

getDescriptorForType()

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

getFields(int index)

public String getFields(int index)

Optional. Fields

repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The fields at the given index.

getFieldsBytes(int index)

public ByteString getFieldsBytes(int index)

Optional. Fields

repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the fields at the given index.

getFieldsCount()

public int getFieldsCount()

Optional. Fields

repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of fields.

getFieldsList()

public ProtocolStringList getFieldsList()

Optional. Fields

repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the fields.

getHostname()

public String getHostname()

Required. hostname.

string hostname = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The hostname.

getHostnameBytes()

public ByteString getHostnameBytes()

Required. hostname.

string hostname = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for hostname.

getOwners(int index)

public String getOwners(int index)

Required. Owners.

repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The owners at the given index.

getOwnersBytes(int index)

public ByteString getOwnersBytes(int index)

Required. Owners.

repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the owners at the given index.

getOwnersCount()

public int getOwnersCount()

Required. Owners.

repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of owners.

getOwnersList()

public ProtocolStringList getOwnersList()

Required. Owners.

repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the owners.

getSchedule()

public int getSchedule()

Optional. Schedule

int32 schedule = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The schedule.

getTqlQuery()

public String getTqlQuery()

Optional. ThreatConnect Query Language filter.

string tql_query = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The tqlQuery.

getTqlQueryBytes()

public ByteString getTqlQueryBytes()

Optional. ThreatConnect Query Language filter.

string tql_query = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for tqlQuery.

hasAuthentication()

public boolean hasAuthentication()

Required. Input only. UsernameSecretAuth.

.google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = REQUIRED, (.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 ThreatConnectIoCV3Settings.Builder mergeAuthentication(UsernameSecretAuth value)

Required. Input only. UsernameSecretAuth.

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

Parameter
Name Description
value UsernameSecretAuth
Returns
Type Description
ThreatConnectIoCV3Settings.Builder

mergeFrom(ThreatConnectIoCV3Settings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAuthentication(UsernameSecretAuth value)

public ThreatConnectIoCV3Settings.Builder setAuthentication(UsernameSecretAuth value)

Required. Input only. UsernameSecretAuth.

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

Parameter
Name Description
value UsernameSecretAuth
Returns
Type Description
ThreatConnectIoCV3Settings.Builder

setAuthentication(UsernameSecretAuth.Builder builderForValue)

public ThreatConnectIoCV3Settings.Builder setAuthentication(UsernameSecretAuth.Builder builderForValue)

Required. Input only. UsernameSecretAuth.

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

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

setFields(int index, String value)

public ThreatConnectIoCV3Settings.Builder setFields(int index, String value)

Optional. Fields

repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The fields to set.

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.

setHostname(String value)

public ThreatConnectIoCV3Settings.Builder setHostname(String value)

Required. hostname.

string hostname = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The hostname to set.

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.

setHostnameBytes(ByteString value)

public ThreatConnectIoCV3Settings.Builder setHostnameBytes(ByteString value)

Required. hostname.

string hostname = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for hostname to set.

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.

setOwners(int index, String value)

public ThreatConnectIoCV3Settings.Builder setOwners(int index, String value)

Required. Owners.

repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int

The index to set the value at.

value String

The owners to set.

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.

setSchedule(int value)

public ThreatConnectIoCV3Settings.Builder setSchedule(int value)

Optional. Schedule

int32 schedule = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The schedule to set.

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.

setTqlQuery(String value)

public ThreatConnectIoCV3Settings.Builder setTqlQuery(String value)

Optional. ThreatConnect Query Language filter.

string tql_query = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The tqlQuery to set.

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.

setTqlQueryBytes(ByteString value)

public ThreatConnectIoCV3Settings.Builder setTqlQueryBytes(ByteString value)

Optional. ThreatConnect Query Language filter.

string tql_query = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for tqlQuery to set.

Returns
Type Description
ThreatConnectIoCV3Settings.Builder

This builder for chaining.