-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea69b36
commit add40ee
Showing
7 changed files
with
101 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// package: google.api | ||
// file: google/api/field_behavior.proto | ||
|
||
import * as jspb from 'google-protobuf'; | ||
import * as google_protobuf_descriptor_pb from 'google-protobuf/google/protobuf/descriptor_pb'; | ||
|
||
export const fieldBehavior: jspb.ExtensionFieldInfo<FieldBehaviorMap>; | ||
|
||
export interface FieldBehaviorMap { | ||
FIELD_BEHAVIOR_UNSPECIFIED: 0; | ||
OPTIONAL: 1; | ||
REQUIRED: 2; | ||
OUTPUT_ONLY: 3; | ||
INPUT_ONLY: 4; | ||
IMMUTABLE: 5; | ||
UNORDERED_LIST: 6; | ||
NON_EMPTY_DEFAULT: 7; | ||
IDENTIFIER: 8; | ||
} | ||
|
||
export const FieldBehavior: FieldBehaviorMap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
// source: google/api/field_behavior.proto | ||
/** | ||
* @fileoverview | ||
* @enhanceable | ||
* @suppress {missingRequire} reports error on implicit type usages. | ||
* @suppress {messageConventions} JS Compiler reports an error if a variable or | ||
* field starts with 'MSG_' and isn't a translatable message. | ||
* @public | ||
*/ | ||
// GENERATED CODE -- DO NOT EDIT! | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
|
||
var jspb = require('google-protobuf'); | ||
var goog = jspb; | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
function () { | ||
return this; | ||
}.call(null) || | ||
Function('return this')(); | ||
|
||
var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); | ||
goog.object.extend(proto, google_protobuf_descriptor_pb); | ||
goog.exportSymbol('proto.google.api.FieldBehavior', null, global); | ||
goog.exportSymbol('proto.google.api.fieldBehaviorList', null, global); | ||
/** | ||
* @enum {number} | ||
*/ | ||
proto.google.api.FieldBehavior = { | ||
FIELD_BEHAVIOR_UNSPECIFIED: 0, | ||
OPTIONAL: 1, | ||
REQUIRED: 2, | ||
OUTPUT_ONLY: 3, | ||
INPUT_ONLY: 4, | ||
IMMUTABLE: 5, | ||
UNORDERED_LIST: 6, | ||
NON_EMPTY_DEFAULT: 7, | ||
IDENTIFIER: 8 | ||
}; | ||
|
||
/** | ||
* A tuple of {field number, class constructor} for the extension | ||
* field named `fieldBehaviorList`. | ||
* @type {!jspb.ExtensionFieldInfo<!Array<!proto.google.api.FieldBehavior>>} | ||
*/ | ||
proto.google.api.fieldBehaviorList = new jspb.ExtensionFieldInfo( | ||
1052, | ||
{ fieldBehaviorList: 0 }, | ||
null, | ||
/** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (null), | ||
1 | ||
); | ||
|
||
google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1052] = | ||
new jspb.ExtensionFieldBinaryInfo( | ||
proto.google.api.fieldBehaviorList, | ||
jspb.BinaryReader.prototype.readEnum, | ||
jspb.BinaryWriter.prototype.writeRepeatedEnum, | ||
undefined, | ||
undefined, | ||
false | ||
); | ||
// This registers the extension field with the extended class, so that | ||
// toObject() will function correctly. | ||
google_protobuf_descriptor_pb.FieldOptions.extensions[1052] = | ||
proto.google.api.fieldBehaviorList; | ||
|
||
goog.object.extend(exports, proto.google.api); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// package: google.api | ||
// file: google/api/field_behavior.proto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// package: google.api | ||
// file: google/api/field_behavior.proto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters