Class WorkdaySettings.Builder (0.37.0)

public static final class WorkdaySettings.Builder extends GeneratedMessage.Builder<WorkdaySettings.Builder> implements WorkdaySettingsOrBuilder

Workday settings.

Protobuf type google.cloud.chronicle.v1.WorkdaySettings

Static Methods

getDescriptor()

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

Methods

build()

public WorkdaySettings build()
Returns
Type Description
WorkdaySettings

buildPartial()

public WorkdaySettings buildPartial()
Returns
Type Description
WorkdaySettings

clear()

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

clearAuthentication()

public WorkdaySettings.Builder clearAuthentication()

Input only. Authentication.

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

Returns
Type Description
WorkdaySettings.Builder

clearHostname()

public WorkdaySettings.Builder clearHostname()

API Hostname.

string hostname = 2;

Returns
Type Description
WorkdaySettings.Builder

This builder for chaining.

clearTenantId()

public WorkdaySettings.Builder clearTenantId()

Tenant ID.

string tenant_id = 3;

Returns
Type Description
WorkdaySettings.Builder

This builder for chaining.

getAuthentication()

public WorkdayAuth getAuthentication()

Input only. Authentication.

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

Returns
Type Description
WorkdayAuth

The authentication.

getAuthenticationBuilder()

public WorkdayAuth.Builder getAuthenticationBuilder()

Input only. Authentication.

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

Returns
Type Description
WorkdayAuth.Builder

getAuthenticationOrBuilder()

public WorkdayAuthOrBuilder getAuthenticationOrBuilder()

Input only. Authentication.

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

Returns
Type Description
WorkdayAuthOrBuilder

getDefaultInstanceForType()

public WorkdaySettings getDefaultInstanceForType()
Returns
Type Description
WorkdaySettings

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.

getTenantId()

public String getTenantId()

Tenant ID.

string tenant_id = 3;

Returns
Type Description
String

The tenantId.

getTenantIdBytes()

public ByteString getTenantIdBytes()

Tenant ID.

string tenant_id = 3;

Returns
Type Description
ByteString

The bytes for tenantId.

hasAuthentication()

public boolean hasAuthentication()

Input only. Authentication.

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

public WorkdaySettings.Builder mergeAuthentication(WorkdayAuth value)

Input only. Authentication.

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

Parameter
Name Description
value WorkdayAuth
Returns
Type Description
WorkdaySettings.Builder

mergeFrom(WorkdaySettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAuthentication(WorkdayAuth value)

public WorkdaySettings.Builder setAuthentication(WorkdayAuth value)

Input only. Authentication.

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

Parameter
Name Description
value WorkdayAuth
Returns
Type Description
WorkdaySettings.Builder

setAuthentication(WorkdayAuth.Builder builderForValue)

public WorkdaySettings.Builder setAuthentication(WorkdayAuth.Builder builderForValue)

Input only. Authentication.

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

Parameter
Name Description
builderForValue WorkdayAuth.Builder
Returns
Type Description
WorkdaySettings.Builder

setHostname(String value)

public WorkdaySettings.Builder setHostname(String value)

API Hostname.

string hostname = 2;

Parameter
Name Description
value String

The hostname to set.

Returns
Type Description
WorkdaySettings.Builder

This builder for chaining.

setHostnameBytes(ByteString value)

public WorkdaySettings.Builder setHostnameBytes(ByteString value)

API Hostname.

string hostname = 2;

Parameter
Name Description
value ByteString

The bytes for hostname to set.

Returns
Type Description
WorkdaySettings.Builder

This builder for chaining.

setTenantId(String value)

public WorkdaySettings.Builder setTenantId(String value)

Tenant ID.

string tenant_id = 3;

Parameter
Name Description
value String

The tenantId to set.

Returns
Type Description
WorkdaySettings.Builder

This builder for chaining.

setTenantIdBytes(ByteString value)

public WorkdaySettings.Builder setTenantIdBytes(ByteString value)

Tenant ID.

string tenant_id = 3;

Parameter
Name Description
value ByteString

The bytes for tenantId to set.

Returns
Type Description
WorkdaySettings.Builder

This builder for chaining.