Class WorkspaceAlertsSettings.Builder (0.37.0)

public static final class WorkspaceAlertsSettings.Builder extends GeneratedMessage.Builder<WorkspaceAlertsSettings.Builder> implements WorkspaceAlertsSettingsOrBuilder

Workspace Alert settings.

Protobuf type google.cloud.chronicle.v1.WorkspaceAlertsSettings

Static Methods

getDescriptor()

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

Methods

build()

public WorkspaceAlertsSettings build()
Returns
Type Description
WorkspaceAlertsSettings

buildPartial()

public WorkspaceAlertsSettings buildPartial()
Returns
Type Description
WorkspaceAlertsSettings

clear()

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

clearAuthentication()

public WorkspaceAlertsSettings.Builder clearAuthentication()

Input only. Authentication.

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

Returns
Type Description
WorkspaceAlertsSettings.Builder

clearWorkspaceCustomerId()

public WorkspaceAlertsSettings.Builder clearWorkspaceCustomerId()

Customer ID.

string workspace_customer_id = 2;

Returns
Type Description
WorkspaceAlertsSettings.Builder

This builder for chaining.

getAuthentication()

public OAuthJWTCredentials getAuthentication()

Input only. Authentication.

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

Returns
Type Description
OAuthJWTCredentials

The authentication.

getAuthenticationBuilder()

public OAuthJWTCredentials.Builder getAuthenticationBuilder()

Input only. Authentication.

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

Returns
Type Description
OAuthJWTCredentials.Builder

getAuthenticationOrBuilder()

public OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder()

Input only. Authentication.

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

Returns
Type Description
OAuthJWTCredentialsOrBuilder

getDefaultInstanceForType()

public WorkspaceAlertsSettings getDefaultInstanceForType()
Returns
Type Description
WorkspaceAlertsSettings

getDescriptorForType()

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

getWorkspaceCustomerId()

public String getWorkspaceCustomerId()

Customer ID.

string workspace_customer_id = 2;

Returns
Type Description
String

The workspaceCustomerId.

getWorkspaceCustomerIdBytes()

public ByteString getWorkspaceCustomerIdBytes()

Customer ID.

string workspace_customer_id = 2;

Returns
Type Description
ByteString

The bytes for workspaceCustomerId.

hasAuthentication()

public boolean hasAuthentication()

Input only. Authentication.

.google.cloud.chronicle.v1.OAuthJWTCredentials 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(OAuthJWTCredentials value)

public WorkspaceAlertsSettings.Builder mergeAuthentication(OAuthJWTCredentials value)

Input only. Authentication.

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

Parameter
Name Description
value OAuthJWTCredentials
Returns
Type Description
WorkspaceAlertsSettings.Builder

mergeFrom(WorkspaceAlertsSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAuthentication(OAuthJWTCredentials value)

public WorkspaceAlertsSettings.Builder setAuthentication(OAuthJWTCredentials value)

Input only. Authentication.

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

Parameter
Name Description
value OAuthJWTCredentials
Returns
Type Description
WorkspaceAlertsSettings.Builder

setAuthentication(OAuthJWTCredentials.Builder builderForValue)

public WorkspaceAlertsSettings.Builder setAuthentication(OAuthJWTCredentials.Builder builderForValue)

Input only. Authentication.

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

Parameter
Name Description
builderForValue OAuthJWTCredentials.Builder
Returns
Type Description
WorkspaceAlertsSettings.Builder

setWorkspaceCustomerId(String value)

public WorkspaceAlertsSettings.Builder setWorkspaceCustomerId(String value)

Customer ID.

string workspace_customer_id = 2;

Parameter
Name Description
value String

The workspaceCustomerId to set.

Returns
Type Description
WorkspaceAlertsSettings.Builder

This builder for chaining.

setWorkspaceCustomerIdBytes(ByteString value)

public WorkspaceAlertsSettings.Builder setWorkspaceCustomerIdBytes(ByteString value)

Customer ID.

string workspace_customer_id = 2;

Parameter
Name Description
value ByteString

The bytes for workspaceCustomerId to set.

Returns
Type Description
WorkspaceAlertsSettings.Builder

This builder for chaining.