public static final class ThreatConnectIoCSettings.Builder extends GeneratedMessage.Builder<ThreatConnectIoCSettings.Builder> implements ThreatConnectIoCSettingsOrBuilderThreatConnect IOC Settings.
Protobuf type google.cloud.chronicle.v1.ThreatConnectIoCSettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ThreatConnectIoCSettings.BuilderImplements
ThreatConnectIoCSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllOwners(Iterable<String> values)
public ThreatConnectIoCSettings.Builder addAllOwners(Iterable<String> values)Owners.
repeated string owners = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The owners to add. |
| Returns | |
|---|---|
| Type | Description |
ThreatConnectIoCSettings.Builder |
This builder for chaining. |
addOwners(String value)
public ThreatConnectIoCSettings.Builder addOwners(String value)Owners.
repeated string owners = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe owners to add. |
| Returns | |
|---|---|
| Type | Description |
ThreatConnectIoCSettings.Builder |
This builder for chaining. |
addOwnersBytes(ByteString value)
public ThreatConnectIoCSettings.Builder addOwnersBytes(ByteString value)Owners.
repeated string owners = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the owners to add. |
| Returns | |
|---|---|
| Type | Description |
ThreatConnectIoCSettings.Builder |
This builder for chaining. |
build()
public ThreatConnectIoCSettings build()| Returns | |
|---|---|
| Type | Description |
ThreatConnectIoCSettings |
|
buildPartial()
public ThreatConnectIoCSettings buildPartial()| Returns | |
|---|---|
| Type | Description |
ThreatConnectIoCSettings |
|
clear()
public ThreatConnectIoCSettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
ThreatConnectIoCSettings.Builder |
|
clearAuthentication()
public ThreatConnectIoCSettings.Builder clearAuthentication()Input only. Authentication.
.google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ThreatConnectIoCSettings.Builder |
|
clearHostname()
public ThreatConnectIoCSettings.Builder clearHostname()API Hostname.
string hostname = 2;
| Returns | |
|---|---|
| Type | Description |
ThreatConnectIoCSettings.Builder |
This builder for chaining. |
clearOwners()
public ThreatConnectIoCSettings.Builder clearOwners()Owners.
repeated string owners = 3;
| Returns | |
|---|---|
| Type | Description |
ThreatConnectIoCSettings.Builder |
This builder for chaining. |
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 ThreatConnectIoCSettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ThreatConnectIoCSettings |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
intThe 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 |
intThe 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. |
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAuthentication(UsernameSecretAuth value)
public ThreatConnectIoCSettings.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 |
ThreatConnectIoCSettings.Builder |
|
mergeFrom(ThreatConnectIoCSettings other)
public ThreatConnectIoCSettings.Builder mergeFrom(ThreatConnectIoCSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
ThreatConnectIoCSettings |
| Returns | |
|---|---|
| Type | Description |
ThreatConnectIoCSettings.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ThreatConnectIoCSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ThreatConnectIoCSettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ThreatConnectIoCSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ThreatConnectIoCSettings.Builder |
|
setAuthentication(UsernameSecretAuth value)
public ThreatConnectIoCSettings.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 |
ThreatConnectIoCSettings.Builder |
|
setAuthentication(UsernameSecretAuth.Builder builderForValue)
public ThreatConnectIoCSettings.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 |
ThreatConnectIoCSettings.Builder |
|
setHostname(String value)
public ThreatConnectIoCSettings.Builder setHostname(String value)API Hostname.
string hostname = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe hostname to set. |
| Returns | |
|---|---|
| Type | Description |
ThreatConnectIoCSettings.Builder |
This builder for chaining. |
setHostnameBytes(ByteString value)
public ThreatConnectIoCSettings.Builder setHostnameBytes(ByteString value)API Hostname.
string hostname = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for hostname to set. |
| Returns | |
|---|---|
| Type | Description |
ThreatConnectIoCSettings.Builder |
This builder for chaining. |
setOwners(int index, String value)
public ThreatConnectIoCSettings.Builder setOwners(int index, String value)Owners.
repeated string owners = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe owners to set. |
| Returns | |
|---|---|
| Type | Description |
ThreatConnectIoCSettings.Builder |
This builder for chaining. |