Class ThreatConnectIoCSettings (0.37.0)

public final class ThreatConnectIoCSettings extends GeneratedMessage implements ThreatConnectIoCSettingsOrBuilder

ThreatConnect IOC Settings.

Protobuf type google.cloud.chronicle.v1.ThreatConnectIoCSettings

Static Fields

AUTHENTICATION_FIELD_NUMBER

public static final int AUTHENTICATION_FIELD_NUMBER
Field Value
Type Description
int

HOSTNAME_FIELD_NUMBER

public static final int HOSTNAME_FIELD_NUMBER
Field Value
Type Description
int

OWNERS_FIELD_NUMBER

public static final int OWNERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ThreatConnectIoCSettings getDefaultInstance()
Returns
Type Description
ThreatConnectIoCSettings

getDescriptor()

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

newBuilder()

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

newBuilder(ThreatConnectIoCSettings prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

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.

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 ThreatConnectIoCSettings getDefaultInstanceForType()
Returns
Type Description
ThreatConnectIoCSettings

getHostname()

public String getHostname()

API Hostname.

string hostname = 2;

Returns
Type Description
String

The hostname.

getHostnameBytes()

public ByteString getHostnameBytes()

API Hostname.

string hostname = 2;

Returns
Type Description
ByteString

The bytes for hostname.

getOwners(int index)

public String getOwners(int index)

Owners.

repeated string owners = 3;

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)

Owners.

repeated string owners = 3;

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()

Owners.

repeated string owners = 3;

Returns
Type Description
int

The count of owners.

getOwnersList()

public ProtocolStringList getOwnersList()

Owners.

repeated string owners = 3;

Returns
Type Description
ProtocolStringList

A list containing the owners.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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 ThreatConnectIoCSettings.Builder newBuilderForType()
Returns
Type Description
ThreatConnectIoCSettings.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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