Class Job.ProcessingOptions.Builder (2.25.0)

public static final class Job.ProcessingOptions.Builder extends GeneratedMessageV3.Builder<Job.ProcessingOptions.Builder> implements Job.ProcessingOptionsOrBuilder

Options for job processing.

Protobuf type google.cloud.talent.v4.Job.ProcessingOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Job.ProcessingOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Job.ProcessingOptions.Builder
Overrides

build()

public Job.ProcessingOptions build()
Returns
TypeDescription
Job.ProcessingOptions

buildPartial()

public Job.ProcessingOptions buildPartial()
Returns
TypeDescription
Job.ProcessingOptions

clear()

public Job.ProcessingOptions.Builder clear()
Returns
TypeDescription
Job.ProcessingOptions.Builder
Overrides

clearDisableStreetAddressResolution()

public Job.ProcessingOptions.Builder clearDisableStreetAddressResolution()

If set to true, the service does not attempt to resolve a more precise address for the job.

bool disable_street_address_resolution = 1;

Returns
TypeDescription
Job.ProcessingOptions.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Job.ProcessingOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Job.ProcessingOptions.Builder
Overrides

clearHtmlSanitization()

public Job.ProcessingOptions.Builder clearHtmlSanitization()

Option for job HTML content sanitization. Applied fields are:

  • description
  • applicationInfo.instruction
  • incentives
  • qualifications
  • responsibilities

    HTML tags in these fields may be stripped if sanitiazation isn't disabled.

    Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.

.google.cloud.talent.v4.HtmlSanitization html_sanitization = 2;

Returns
TypeDescription
Job.ProcessingOptions.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Job.ProcessingOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Job.ProcessingOptions.Builder
Overrides

clone()

public Job.ProcessingOptions.Builder clone()
Returns
TypeDescription
Job.ProcessingOptions.Builder
Overrides

getDefaultInstanceForType()

public Job.ProcessingOptions getDefaultInstanceForType()
Returns
TypeDescription
Job.ProcessingOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisableStreetAddressResolution()

public boolean getDisableStreetAddressResolution()

If set to true, the service does not attempt to resolve a more precise address for the job.

bool disable_street_address_resolution = 1;

Returns
TypeDescription
boolean

The disableStreetAddressResolution.

getHtmlSanitization()

public HtmlSanitization getHtmlSanitization()

Option for job HTML content sanitization. Applied fields are:

  • description
  • applicationInfo.instruction
  • incentives
  • qualifications
  • responsibilities

    HTML tags in these fields may be stripped if sanitiazation isn't disabled.

    Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.

.google.cloud.talent.v4.HtmlSanitization html_sanitization = 2;

Returns
TypeDescription
HtmlSanitization

The htmlSanitization.

getHtmlSanitizationValue()

public int getHtmlSanitizationValue()

Option for job HTML content sanitization. Applied fields are:

  • description
  • applicationInfo.instruction
  • incentives
  • qualifications
  • responsibilities

    HTML tags in these fields may be stripped if sanitiazation isn't disabled.

    Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.

.google.cloud.talent.v4.HtmlSanitization html_sanitization = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for htmlSanitization.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Job.ProcessingOptions other)

public Job.ProcessingOptions.Builder mergeFrom(Job.ProcessingOptions other)
Parameter
NameDescription
otherJob.ProcessingOptions
Returns
TypeDescription
Job.ProcessingOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Job.ProcessingOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Job.ProcessingOptions.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Job.ProcessingOptions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Job.ProcessingOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Job.ProcessingOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Job.ProcessingOptions.Builder
Overrides

setDisableStreetAddressResolution(boolean value)

public Job.ProcessingOptions.Builder setDisableStreetAddressResolution(boolean value)

If set to true, the service does not attempt to resolve a more precise address for the job.

bool disable_street_address_resolution = 1;

Parameter
NameDescription
valueboolean

The disableStreetAddressResolution to set.

Returns
TypeDescription
Job.ProcessingOptions.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Job.ProcessingOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Job.ProcessingOptions.Builder
Overrides

setHtmlSanitization(HtmlSanitization value)

public Job.ProcessingOptions.Builder setHtmlSanitization(HtmlSanitization value)

Option for job HTML content sanitization. Applied fields are:

  • description
  • applicationInfo.instruction
  • incentives
  • qualifications
  • responsibilities

    HTML tags in these fields may be stripped if sanitiazation isn't disabled.

    Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.

.google.cloud.talent.v4.HtmlSanitization html_sanitization = 2;

Parameter
NameDescription
valueHtmlSanitization

The htmlSanitization to set.

Returns
TypeDescription
Job.ProcessingOptions.Builder

This builder for chaining.

setHtmlSanitizationValue(int value)

public Job.ProcessingOptions.Builder setHtmlSanitizationValue(int value)

Option for job HTML content sanitization. Applied fields are:

  • description
  • applicationInfo.instruction
  • incentives
  • qualifications
  • responsibilities

    HTML tags in these fields may be stripped if sanitiazation isn't disabled.

    Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.

.google.cloud.talent.v4.HtmlSanitization html_sanitization = 2;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
Job.ProcessingOptions.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Job.ProcessingOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Job.ProcessingOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Job.ProcessingOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Job.ProcessingOptions.Builder
Overrides