Skip to content

Commit 54cab6e

Browse files
yoshi-automationcrwilcox
authored andcommitted
Documentation and formatting changes.
Documentation and formatting changes.
1 parent 7d773e6 commit 54cab6e

32 files changed

Lines changed: 752 additions & 460 deletions

talent/google/cloud/talent_v4beta1/proto/batch.proto

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@ syntax = "proto3";
1818
package google.cloud.talent.v4beta1;
1919

2020
import "google/api/annotations.proto";
21+
import "google/cloud/talent/v4beta1/job.proto";
2122
import "google/protobuf/timestamp.proto";
2223
import "google/rpc/status.proto";
23-
import "google/cloud/talent/v4beta1/job.proto";
2424

2525
option go_package = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent";
2626
option java_multiple_files = true;
2727
option java_outer_classname = "BatchProto";
2828
option java_package = "com.google.cloud.talent.v4beta1";
2929
option objc_class_prefix = "CTS";
30-

talent/google/cloud/talent_v4beta1/proto/batch_pb2.py

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

talent/google/cloud/talent_v4beta1/proto/common.proto

Lines changed: 87 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ option java_outer_classname = "CommonProto";
3030
option java_package = "com.google.cloud.talent.v4beta1";
3131
option objc_class_prefix = "CTS";
3232

33-
3433
// Message representing a period of time between two timestamps.
3534
message TimestampRange {
3635
// Begin of the period.
@@ -187,7 +186,8 @@ enum EmploymentType {
187186
// The job is offered as a contracted position with the understanding
188187
// that it's converted into a full-time position at the end of the
189188
// contract. Jobs of this type are also returned by a search for
190-
// [EmploymentType.CONTRACTOR][google.cloud.talent.v4beta1.EmploymentType.CONTRACTOR] jobs.
189+
// [EmploymentType.CONTRACTOR][google.cloud.talent.v4beta1.EmploymentType.CONTRACTOR]
190+
// jobs.
191191
CONTRACT_TO_HIRE = 4;
192192

193193
// The job is offered as a temporary employment opportunity, usually
@@ -347,20 +347,23 @@ enum PostingRegion {
347347
POSTING_REGION_UNSPECIFIED = 0;
348348

349349
// In addition to exact location matching, job posting is returned when the
350-
// [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in the search query is in the same administrative area
351-
// as the returned job posting. For example, if a `ADMINISTRATIVE_AREA` job
352-
// is posted in "CA, USA", it's returned if [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] has
353-
// "Mountain View".
350+
// [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in the search
351+
// query is in the same administrative area as the returned job posting. For
352+
// example, if a `ADMINISTRATIVE_AREA` job is posted in "CA, USA", it's
353+
// returned if [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
354+
// has "Mountain View".
354355
//
355356
// Administrative area refers to top-level administrative subdivision of this
356357
// country. For example, US state, IT region, UK constituent nation and
357358
// JP prefecture.
358359
ADMINISTRATIVE_AREA = 1;
359360

360361
// In addition to exact location matching, job is returned when
361-
// [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in search query is in the same country as this job.
362-
// For example, if a `NATION_WIDE` job is posted in "USA", it's
363-
// returned if [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] has 'Mountain View'.
362+
// [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in search
363+
// query is in the same country as this job. For example, if a `NATION_WIDE`
364+
// job is posted in "USA", it's returned if
365+
// [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] has 'Mountain
366+
// View'.
364367
NATION = 2;
365368

366369
// Job allows employees to work remotely (telecommute).
@@ -514,7 +517,9 @@ message Location {
514517
// conducting the job search. This information is used to improve the
515518
// performance of the service.
516519
message RequestMetadata {
517-
// Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
520+
// Required if
521+
// [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
522+
// is unset or `false`.
518523
//
519524
// The client-defined scope or source of the service call, which typically
520525
// is the domain on
@@ -531,7 +536,9 @@ message RequestMetadata {
531536
// The maximum number of allowed characters is 255.
532537
string domain = 1;
533538

534-
// Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
539+
// Required if
540+
// [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
541+
// is unset or `false`.
535542
//
536543
// A unique session identification string. A session is defined as the
537544
// duration of an end user's interaction with the service over a certain
@@ -545,7 +552,9 @@ message RequestMetadata {
545552
// The maximum number of allowed characters is 255.
546553
string session_id = 2;
547554

548-
// Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
555+
// Required if
556+
// [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
557+
// is unset or `false`.
549558
//
550559
// A unique user identification string, as determined by the client.
551560
// To have the strongest positive impact on search quality
@@ -561,10 +570,16 @@ message RequestMetadata {
561570

562571
// Optional.
563572
//
564-
// If set to `true`, [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] are optional.
565-
// Only set when any of these fields isn't available for some reason. It
566-
// is highly recommended not to set this field and provide accurate
567-
// [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] for the best service experience.
573+
// If set to `true`,
574+
// [domain][google.cloud.talent.v4beta1.RequestMetadata.domain],
575+
// [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and
576+
// [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] are
577+
// optional. Only set when any of these fields isn't available for some
578+
// reason. It is highly recommended not to set this field and provide accurate
579+
// [domain][google.cloud.talent.v4beta1.RequestMetadata.domain],
580+
// [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and
581+
// [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] for the best
582+
// service experience.
568583
bool allow_missing_ids = 4;
569584

570585
// Optional.
@@ -628,8 +643,10 @@ message DeviceInfo {
628643

629644
// Custom attribute values that are either filterable or non-filterable.
630645
message CustomAttribute {
631-
// Optional but exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must
632-
// be specified.
646+
// Optional but exactly one of
647+
// [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values]
648+
// or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values]
649+
// must be specified.
633650
//
634651
// This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
635652
// `CASE_INSENSITIVE_MATCH`) search.
@@ -641,13 +658,17 @@ message CustomAttribute {
641658
// Empty string isn't allowed.
642659
repeated string string_values = 1;
643660

644-
// Optional but exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must
645-
// be specified.
661+
// Optional but exactly one of
662+
// [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values]
663+
// or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values]
664+
// must be specified.
646665
//
647666
// This field is used to perform number range search.
648667
// (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
649668
//
650-
// Currently at most 1 [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] is supported.
669+
// Currently at most 1
670+
// [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] is
671+
// supported.
651672
repeated int64 long_values = 2;
652673

653674
// Optional.
@@ -685,9 +706,17 @@ message CompensationInfo {
685706
// as base pay, bonus, or other compensation type.
686707
//
687708
// Annualization: One compensation entry can be annualized if
688-
// - it contains valid [amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] or [range][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.range].
689-
// - and its [expected_units_per_year][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.expected_units_per_year] is set or can be derived.
690-
// Its annualized range is determined as ([amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] or [range][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.range]) times
709+
// - it contains valid
710+
// [amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount]
711+
// or
712+
// [range][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.range].
713+
// - and its
714+
// [expected_units_per_year][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.expected_units_per_year]
715+
// is set or can be derived. Its annualized range is determined as
716+
// ([amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount]
717+
// or
718+
// [range][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.range])
719+
// times
691720
// [expected_units_per_year][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.expected_units_per_year].
692721
message CompensationEntry {
693722
// Optional.
@@ -701,7 +730,8 @@ message CompensationInfo {
701730
//
702731
// Frequency of the specified amount.
703732
//
704-
// Default is [CompensationUnit.OTHER_COMPENSATION_UNIT][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.OTHER_COMPENSATION_UNIT].
733+
// Default is
734+
// [CompensationUnit.OTHER_COMPENSATION_UNIT][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.OTHER_COMPENSATION_UNIT].
705735
CompensationUnit unit = 2;
706736

707737
// Optional.
@@ -729,8 +759,10 @@ message CompensationInfo {
729759
// Optional.
730760
//
731761
// Expected number of units paid each year. If not specified, when
732-
// [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
733-
// based on [unit][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.unit]. Default values:
762+
// [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types]
763+
// is FULLTIME, a default value is inferred based on
764+
// [unit][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.unit].
765+
// Default values:
734766
// - HOURLY: 2080
735767
// - DAILY: 260
736768
// - WEEKLY: 52
@@ -760,19 +792,30 @@ message CompensationInfo {
760792
// The type of compensation.
761793
//
762794
// For compensation amounts specified in non-monetary amounts,
763-
// describe the compensation scheme in the [CompensationEntry.description][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.description].
795+
// describe the compensation scheme in the
796+
// [CompensationEntry.description][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.description].
764797
//
765798
// For example, tipping format is described in
766-
// [CompensationEntry.description][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.description] (for example, "expect 15-20% tips based
767-
// on customer bill.") and an estimate of the tips provided in
768-
// [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] or [CompensationEntry.range][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.range] ($10 per hour).
799+
// [CompensationEntry.description][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.description]
800+
// (for example, "expect 15-20% tips based on customer bill.") and an estimate
801+
// of the tips provided in
802+
// [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount]
803+
// or
804+
// [CompensationEntry.range][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.range]
805+
// ($10 per hour).
769806
//
770-
// For example, equity is described in [CompensationEntry.description][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.description]
807+
// For example, equity is described in
808+
// [CompensationEntry.description][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.description]
771809
// (for example, "1% - 2% equity vesting over 4 years, 1 year cliff") and
772-
// value estimated in [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] or
773-
// [CompensationEntry.range][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.range]. If no value estimate is possible, units are
774-
// [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED] and then further
775-
// clarified in [CompensationEntry.description][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.description] field.
810+
// value estimated in
811+
// [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount]
812+
// or
813+
// [CompensationEntry.range][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.range].
814+
// If no value estimate is possible, units are
815+
// [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED]
816+
// and then further clarified in
817+
// [CompensationEntry.description][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.description]
818+
// field.
776819
enum CompensationType {
777820
// Default value.
778821
COMPENSATION_TYPE_UNSPECIFIED = 0;
@@ -837,21 +880,25 @@ message CompensationInfo {
837880
// Job compensation information.
838881
//
839882
// At most one entry can be of type
840-
// [CompensationInfo.CompensationType.BASE][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.BASE], which is
841-
// referred as ** base compensation entry ** for the job.
883+
// [CompensationInfo.CompensationType.BASE][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.BASE],
884+
// which is referred as ** base compensation entry ** for the job.
842885
repeated CompensationEntry entries = 1;
843886

844887
// Output only. Annualized base compensation range. Computed as
845888
// base compensation entry's [CompensationEntry.compensation][] times
846889
// [CompensationEntry.expected_units_per_year][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.expected_units_per_year].
847890
//
848-
// See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
891+
// See
892+
// [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry]
893+
// for explanation on compensation annualization.
849894
CompensationRange annualized_base_compensation_range = 2;
850895

851896
// Output only. Annualized total compensation range. Computed as
852897
// all compensation entries' [CompensationEntry.compensation][] times
853898
// [CompensationEntry.expected_units_per_year][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.expected_units_per_year].
854899
//
855-
// See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
900+
// See
901+
// [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry]
902+
// for explanation on compensation annualization.
856903
CompensationRange annualized_total_compensation_range = 3;
857904
}

talent/google/cloud/talent_v4beta1/proto/company.proto

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,15 @@ syntax = "proto3";
1717

1818
package google.cloud.talent.v4beta1;
1919

20-
import "google/cloud/talent/v4beta1/common.proto";
2120
import "google/api/annotations.proto";
21+
import "google/cloud/talent/v4beta1/common.proto";
2222

2323
option go_package = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent";
2424
option java_multiple_files = true;
2525
option java_outer_classname = "CompanyResourceProto";
2626
option java_package = "com.google.cloud.talent.v4beta1";
2727
option objc_class_prefix = "CTS";
2828

29-
3029
// A Company resource represents a company in the service. A company is the
3130
// entity that owns job postings, that is, the hiring entity responsible for
3231
// employing applicants for the job position.
@@ -70,7 +69,8 @@ message Company {
7069
// The street address of the company's main headquarters, which may be
7170
// different from the job location. The service attempts
7271
// to geolocate the provided address, and populates a more specific
73-
// location wherever possible in [DerivedInfo.headquarters_location][google.cloud.talent.v4beta1.Company.DerivedInfo.headquarters_location].
72+
// location wherever possible in
73+
// [DerivedInfo.headquarters_location][google.cloud.talent.v4beta1.Company.DerivedInfo.headquarters_location].
7474
string headquarters_address = 5;
7575

7676
// Optional.
@@ -111,8 +111,9 @@ message Company {
111111

112112
// Optional.
113113
//
114-
// A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
115-
// corresponding `string_values` are used in keyword search. Jobs with
114+
// A list of keys of filterable
115+
// [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
116+
// whose corresponding `string_values` are used in keyword search. Jobs with
116117
// `string_values` under these specified field keys are returned if any
117118
// of the values matches the search keyword. Custom field values with
118119
// parenthesis, brackets and special symbols won't be properly searchable,

0 commit comments

Comments
 (0)