Class CloudPassageSettings.Builder (0.37.0)

public static final class CloudPassageSettings.Builder extends GeneratedMessage.Builder<CloudPassageSettings.Builder> implements CloudPassageSettingsOrBuilder

CloudPassage settings.

Protobuf type google.cloud.chronicle.v1.CloudPassageSettings

Static Methods

getDescriptor()

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

Methods

addAllEventTypes(Iterable<String> values)

public CloudPassageSettings.Builder addAllEventTypes(Iterable<String> values)

Event types filter for the events API.

repeated string event_types = 2;

Parameter
Name Description
values Iterable<String>

The eventTypes to add.

Returns
Type Description
CloudPassageSettings.Builder

This builder for chaining.

addEventTypes(String value)

public CloudPassageSettings.Builder addEventTypes(String value)

Event types filter for the events API.

repeated string event_types = 2;

Parameter
Name Description
value String

The eventTypes to add.

Returns
Type Description
CloudPassageSettings.Builder

This builder for chaining.

addEventTypesBytes(ByteString value)

public CloudPassageSettings.Builder addEventTypesBytes(ByteString value)

Event types filter for the events API.

repeated string event_types = 2;

Parameter
Name Description
value ByteString

The bytes of the eventTypes to add.

Returns
Type Description
CloudPassageSettings.Builder

This builder for chaining.

build()

public CloudPassageSettings build()
Returns
Type Description
CloudPassageSettings

buildPartial()

public CloudPassageSettings buildPartial()
Returns
Type Description
CloudPassageSettings

clear()

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

clearAuthentication()

public CloudPassageSettings.Builder clearAuthentication()

Input only. Authentication.

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

Returns
Type Description
CloudPassageSettings.Builder

clearEventTypes()

public CloudPassageSettings.Builder clearEventTypes()

Event types filter for the events API.

repeated string event_types = 2;

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

getDescriptorForType()

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

getEventTypes(int index)

public String getEventTypes(int index)

Event types filter for the events API.

repeated string event_types = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The eventTypes at the given index.

getEventTypesBytes(int index)

public ByteString getEventTypesBytes(int index)

Event types filter for the events API.

repeated string event_types = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the eventTypes at the given index.

getEventTypesCount()

public int getEventTypesCount()

Event types filter for the events API.

repeated string event_types = 2;

Returns
Type Description
int

The count of eventTypes.

getEventTypesList()

public ProtocolStringList getEventTypesList()

Event types filter for the events API.

repeated string event_types = 2;

Returns
Type Description
ProtocolStringList

A list containing the eventTypes.

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

mergeFrom(CloudPassageSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAuthentication(UsernameSecretAuth value)

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

setAuthentication(UsernameSecretAuth.Builder builderForValue)

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

setEventTypes(int index, String value)

public CloudPassageSettings.Builder setEventTypes(int index, String value)

Event types filter for the events API.

repeated string event_types = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The eventTypes to set.

Returns
Type Description
CloudPassageSettings.Builder

This builder for chaining.