Class WorkspaceUsersSettings.Builder (0.37.0)

public static final class WorkspaceUsersSettings.Builder extends GeneratedMessage.Builder<WorkspaceUsersSettings.Builder> implements WorkspaceUsersSettingsOrBuilder

Workspace Users settings.

Protobuf type google.cloud.chronicle.v1.WorkspaceUsersSettings

Static Methods

getDescriptor()

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

Methods

build()

public WorkspaceUsersSettings build()
Returns
Type Description
WorkspaceUsersSettings

buildPartial()

public WorkspaceUsersSettings buildPartial()
Returns
Type Description
WorkspaceUsersSettings

clear()

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

clearAuthentication()

public WorkspaceUsersSettings.Builder clearAuthentication()

Input only. Authentication.

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

Returns
Type Description
WorkspaceUsersSettings.Builder

clearProjectionType()

public WorkspaceUsersSettings.Builder clearProjectionType()

Optional. Projection Type.

.google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType projection_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WorkspaceUsersSettings.Builder

This builder for chaining.

clearWorkspaceCustomerId()

public WorkspaceUsersSettings.Builder clearWorkspaceCustomerId()

Customer ID.

string workspace_customer_id = 2;

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

getDescriptorForType()

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

getProjectionType()

public WorkspaceUsersSettings.ProjectionType getProjectionType()

Optional. Projection Type.

.google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType projection_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WorkspaceUsersSettings.ProjectionType

The projectionType.

getProjectionTypeValue()

public int getProjectionTypeValue()

Optional. Projection Type.

.google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType projection_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for projectionType.

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

mergeFrom(WorkspaceUsersSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAuthentication(OAuthJWTCredentials value)

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

setAuthentication(OAuthJWTCredentials.Builder builderForValue)

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

setProjectionType(WorkspaceUsersSettings.ProjectionType value)

public WorkspaceUsersSettings.Builder setProjectionType(WorkspaceUsersSettings.ProjectionType value)

Optional. Projection Type.

.google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType projection_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value WorkspaceUsersSettings.ProjectionType

The projectionType to set.

Returns
Type Description
WorkspaceUsersSettings.Builder

This builder for chaining.

setProjectionTypeValue(int value)

public WorkspaceUsersSettings.Builder setProjectionTypeValue(int value)

Optional. Projection Type.

.google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType projection_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for projectionType to set.

Returns
Type Description
WorkspaceUsersSettings.Builder

This builder for chaining.

setWorkspaceCustomerId(String value)

public WorkspaceUsersSettings.Builder setWorkspaceCustomerId(String value)

Customer ID.

string workspace_customer_id = 2;

Parameter
Name Description
value String

The workspaceCustomerId to set.

Returns
Type Description
WorkspaceUsersSettings.Builder

This builder for chaining.

setWorkspaceCustomerIdBytes(ByteString value)

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

This builder for chaining.