Class NetskopeAlertV2Settings.Builder (0.37.0)

public static final class NetskopeAlertV2Settings.Builder extends GeneratedMessage.Builder<NetskopeAlertV2Settings.Builder> implements NetskopeAlertV2SettingsOrBuilder

Netskope Alert V2 settings.

Protobuf type google.cloud.chronicle.v1.NetskopeAlertV2Settings

Static Methods

getDescriptor()

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

Methods

addAllContentTypes(Iterable<String> values)

public NetskopeAlertV2Settings.Builder addAllContentTypes(Iterable<String> values)

Content type.

repeated string content_types = 4;

Parameter
Name Description
values Iterable<String>

The contentTypes to add.

Returns
Type Description
NetskopeAlertV2Settings.Builder

This builder for chaining.

addContentTypes(String value)

public NetskopeAlertV2Settings.Builder addContentTypes(String value)

Content type.

repeated string content_types = 4;

Parameter
Name Description
value String

The contentTypes to add.

Returns
Type Description
NetskopeAlertV2Settings.Builder

This builder for chaining.

addContentTypesBytes(ByteString value)

public NetskopeAlertV2Settings.Builder addContentTypesBytes(ByteString value)

Content type.

repeated string content_types = 4;

Parameter
Name Description
value ByteString

The bytes of the contentTypes to add.

Returns
Type Description
NetskopeAlertV2Settings.Builder

This builder for chaining.

build()

public NetskopeAlertV2Settings build()
Returns
Type Description
NetskopeAlertV2Settings

buildPartial()

public NetskopeAlertV2Settings buildPartial()
Returns
Type Description
NetskopeAlertV2Settings

clear()

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

clearAuthentication()

public NetskopeAlertV2Settings.Builder clearAuthentication()

Input only. Authentication.

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

Returns
Type Description
NetskopeAlertV2Settings.Builder

clearContentCategory()

public NetskopeAlertV2Settings.Builder clearContentCategory()

Content Category.

string content_category = 3;

Returns
Type Description
NetskopeAlertV2Settings.Builder

This builder for chaining.

clearContentTypes()

public NetskopeAlertV2Settings.Builder clearContentTypes()

Content type.

repeated string content_types = 4;

Returns
Type Description
NetskopeAlertV2Settings.Builder

This builder for chaining.

clearHostname()

public NetskopeAlertV2Settings.Builder clearHostname()

API Hostname.

string hostname = 2;

Returns
Type Description
NetskopeAlertV2Settings.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

getContentCategory()

public String getContentCategory()

Content Category.

string content_category = 3;

Returns
Type Description
String

The contentCategory.

getContentCategoryBytes()

public ByteString getContentCategoryBytes()

Content Category.

string content_category = 3;

Returns
Type Description
ByteString

The bytes for contentCategory.

getContentTypes(int index)

public String getContentTypes(int index)

Content type.

repeated string content_types = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The contentTypes at the given index.

getContentTypesBytes(int index)

public ByteString getContentTypesBytes(int index)

Content type.

repeated string content_types = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the contentTypes at the given index.

getContentTypesCount()

public int getContentTypesCount()

Content type.

repeated string content_types = 4;

Returns
Type Description
int

The count of contentTypes.

getContentTypesList()

public ProtocolStringList getContentTypesList()

Content type.

repeated string content_types = 4;

Returns
Type Description
ProtocolStringList

A list containing the contentTypes.

getDefaultInstanceForType()

public NetskopeAlertV2Settings getDefaultInstanceForType()
Returns
Type Description
NetskopeAlertV2Settings

getDescriptorForType()

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

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.

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 NetskopeAlertV2Settings.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
NetskopeAlertV2Settings.Builder

mergeFrom(NetskopeAlertV2Settings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAuthentication(HttpHeaderAuth value)

public NetskopeAlertV2Settings.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
NetskopeAlertV2Settings.Builder

setAuthentication(HttpHeaderAuth.Builder builderForValue)

public NetskopeAlertV2Settings.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
NetskopeAlertV2Settings.Builder

setContentCategory(String value)

public NetskopeAlertV2Settings.Builder setContentCategory(String value)

Content Category.

string content_category = 3;

Parameter
Name Description
value String

The contentCategory to set.

Returns
Type Description
NetskopeAlertV2Settings.Builder

This builder for chaining.

setContentCategoryBytes(ByteString value)

public NetskopeAlertV2Settings.Builder setContentCategoryBytes(ByteString value)

Content Category.

string content_category = 3;

Parameter
Name Description
value ByteString

The bytes for contentCategory to set.

Returns
Type Description
NetskopeAlertV2Settings.Builder

This builder for chaining.

setContentTypes(int index, String value)

public NetskopeAlertV2Settings.Builder setContentTypes(int index, String value)

Content type.

repeated string content_types = 4;

Parameters
Name Description
index int

The index to set the value at.

value String

The contentTypes to set.

Returns
Type Description
NetskopeAlertV2Settings.Builder

This builder for chaining.

setHostname(String value)

public NetskopeAlertV2Settings.Builder setHostname(String value)

API Hostname.

string hostname = 2;

Parameter
Name Description
value String

The hostname to set.

Returns
Type Description
NetskopeAlertV2Settings.Builder

This builder for chaining.

setHostnameBytes(ByteString value)

public NetskopeAlertV2Settings.Builder setHostnameBytes(ByteString value)

API Hostname.

string hostname = 2;

Parameter
Name Description
value ByteString

The bytes for hostname to set.

Returns
Type Description
NetskopeAlertV2Settings.Builder

This builder for chaining.