MCPcopy Create free account

hub / github.com/GoogleCloudPlatform/cloud-code-samples / functions

Functions238 in github.com/GoogleCloudPlatform/cloud-code-samples

↓ 17 callersMethoderror
(String prefix, Class<?> loggerClass)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/logging/Log.java:26
↓ 14 callersMethodof
Instantiates a {@link JsonToRow} from a custom user type's {@link TypeDescriptor}
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/JsonToRow.java:37
↓ 12 callersFunctione
(a,e,n)
dotnet/dotnet-guestbook/src/frontend/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js:4
↓ 12 callersFunctionsetValidationValues
(options, ruleName, value)
dotnet/dotnet-guestbook/src/frontend/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js:24
↓ 6 callersMethodgetValue
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/options/SubscriptionPathOptionValue.java:22
↓ 5 callersMethodgetSchema
Return the {@link Schema} of the user type {@link TypeDescriptor}.
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/UserTypeJsonPayloadSerializer.java:68
↓ 5 callersMethodof
The {@link TypeDescriptor} argument is all that is needed to convert your custom type to and from JSON encoded strings. <p>Using both {@link DefaultS
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/UserTypeJsonPayloadSerializer.java:45
↓ 4 callersMethodgetMessage
The error message of the thrown exception.
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/ConversionError.java:22
↓ 4 callersMethodgetTimestamp
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/ExampleModel.java:38
↓ 4 callersMethodpost
endpoint for handling form submission @param formMessage holds date entered in html form @return redirects back to home page @throws URISyntaxExceptio
java/java-guestbook/frontend/src/main/java/cloudcode/guestbook/frontend/FrontendController.java:53
↓ 3 callersFunctionescapeAttributeValue
(value)
dotnet/dotnet-guestbook/src/frontend/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js:35
↓ 3 callersFunctionexecInContext
(name, args)
dotnet/dotnet-guestbook/src/frontend/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js:128
↓ 3 callersMethodflatSchemaJavaBean
( Boolean aBoolean, Double aDouble, Integer anInteger, String aString, Instant instant)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/test/java/com/cloudcode/dataflow/example/testdata/FlatSchemaJavaBean.java:18
↓ 3 callersMethodgetLatitude
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/ExampleModel.java:34
↓ 3 callersMethodgetLongitude
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/ExampleModel.java:36
↓ 3 callersMethodgetMeterIncrement
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/ExampleModel.java:42
↓ 3 callersMethodgetMeterReading
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/ExampleModel.java:40
↓ 3 callersMethodgetPassengerCount
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/ExampleModel.java:46
↓ 3 callersMethodgetPipeline
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/io/ReadResult.java:54
↓ 3 callersMethodgetPointIdx
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/ExampleModel.java:32
↓ 3 callersMethodgetRideId
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/ExampleModel.java:30
↓ 3 callersMethodgetRideStatus
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/ExampleModel.java:44
↓ 3 callersFunctiont
(a)
dotnet/dotnet-guestbook/src/frontend/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js:4
↓ 2 callersFunctionappendModelPrefix
(value, prefix)
dotnet/dotnet-guestbook/src/frontend/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js:44
↓ 2 callersMethodbuild
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/ExampleModel.java:68
↓ 2 callersMethodbuild
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/logging/Log.java:89
↓ 2 callersMethodbuilder
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/logging/Log.java:17
↓ 2 callersFunctiongetModelPrefix
(fieldName)
dotnet/dotnet-guestbook/src/frontend/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js:40
↓ 2 callersMethodgetPrefix
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/logging/Log.java:39
↓ 2 callersMethodgetUserTypeToRowFn
A {@link SerializableFunction} for converting from a user type to a {@link Row}.
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/UserTypeJsonPayloadSerializer.java:87
↓ 2 callersFunctioni
(a,e)
dotnet/dotnet-guestbook/src/frontend/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js:4
↓ 2 callersMethodinfo
(String prefix, Class<?> loggerClass)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/logging/Log.java:21
↓ 2 callersMethodof
( Pipeline pipeline, TupleTag<Row> successTag, PCollection<Row> success, TupleTag<Stri
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/io/WriteResult.java:17
↓ 2 callersMethodof
( Pipeline pipeline, TupleTag<Row> outputTag, PCollection<Row> output, TupleTag<String
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/io/ReadResult.java:17
↓ 2 callersFunctionr
(a)
dotnet/dotnet-guestbook/src/frontend/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js:4
↓ 2 callersMethodsetLoggerClass
(Class<?> value)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/logging/Log.java:85
↓ 2 callersMethodsetPrefix
(String value)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/logging/Log.java:87
↓ 2 callersMethodsetSeverity
(Severity value)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/logging/Log.java:83
↓ 2 callersFunctionu
(e)
dotnet/dotnet-guestbook/src/frontend/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js:4
↓ 2 callersFunctionvalidationInfo
(form)
dotnet/dotnet-guestbook/src/frontend/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js:123
↓ 1 callersMethodFindAll
()
dotnet/dotnet-guestbook/src/backend/MessageRepository.cs:26
↓ 1 callersMethodGet
GET api/values
dotnet/dotnet-guestbook/src/backend/Controllers/MessagesController.cs:24
↓ 1 callersMethodPost
([FromForm] GuestbookEntry entry)
dotnet/dotnet-guestbook/src/frontend/Controllers/HomeController.cs:55
↓ 1 callersMethodSave
(GuestbookEntry entry)
dotnet/dotnet-guestbook/src/backend/MessageRepository.cs:40
↓ 1 callersFunction_format_date
Format the datetime object in a human readable way.
python/django/python-guestbook/src/message/views.py:7
↓ 1 callersMethodaddEntry
(context.Context, guestbookEntry)
golang/go-guestbook/src/backend/database.go:9
↓ 1 callersMethodbuild
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/test/java/com/cloudcode/dataflow/example/testdata/FlatSchemaJavaBean.java:56
↓ 1 callersMethodbuild
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/ConversionError.java:34
↓ 1 callersMethodbuilder
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/test/java/com/cloudcode/dataflow/example/testdata/FlatSchemaJavaBean.java:29
↓ 1 callersMethodbuilder
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/ConversionError.java:17
↓ 1 callersFunctionconstruct
(params)
nodejs/nodejs-guestbook/src/backend/routes/messages.js:33
↓ 1 callersMethoddeserialize
Convert a JSON string to a {@link Row}.
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/UserTypeJsonPayloadSerializer.java:80
↓ 1 callersMethodentries
(context.Context)
golang/go-guestbook/src/backend/database.go:8
↓ 1 callersMethodgetABoolean
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/test/java/com/cloudcode/dataflow/example/testdata/FlatSchemaJavaBean.java:33
↓ 1 callersMethodgetADouble
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/test/java/com/cloudcode/dataflow/example/testdata/FlatSchemaJavaBean.java:35
↓ 1 callersMethodgetAString
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/test/java/com/cloudcode/dataflow/example/testdata/FlatSchemaJavaBean.java:39
↓ 1 callersMethodgetAnInteger
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/test/java/com/cloudcode/dataflow/example/testdata/FlatSchemaJavaBean.java:37
↓ 1 callersMethodgetDataset
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/options/WriteBigQueryOptions.java:9
↓ 1 callersMethodgetError
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/io/WriteResult.java:57
↓ 1 callersMethodgetError
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/io/ReadResult.java:50
↓ 1 callersMethodgetInstant
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/test/java/com/cloudcode/dataflow/example/testdata/FlatSchemaJavaBean.java:41
↓ 1 callersMethodgetLoggerClass
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/logging/Log.java:37
↓ 1 callersMethodgetMessagesHandler
(w http.ResponseWriter, r *http.Request)
golang/go-guestbook/src/backend/main.go:79
↓ 1 callersMethodgetOutput
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/io/ReadResult.java:46
↓ 1 callersMethodgetSeverity
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/logging/Log.java:35
↓ 1 callersMethodgetSubscription
()
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/options/ReadPubsubOptions.java:9
↓ 1 callersMethodjsonToRowWithFailures
Instead of using the typical {@link MapElements} to map from a JSON String to a Beam {@link Row}, we use {@link MapElements.MapWithFailures} to collec
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/JsonToRow.java:76
↓ 1 callersFunctionmain
()
python/django/python-hello-world/src/manage.py:7
↓ 1 callersFunctionmain
()
python/django/python-guestbook/src/manage.py:7
↓ 1 callersFunctionmain
()
python/cloud-run-django-hello-world/manage.py:7
↓ 1 callersFunctionn
(a)
dotnet/dotnet-guestbook/src/frontend/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js:4
↓ 1 callersMethodof
Instantiate a {@link ReadPubsubToRow} from a {@link SubscriptionPath} and the user type {@link TypeDescriptor}.
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/io/ReadPubsubToRow.java:31
↓ 1 callersMethodof
(DatasetReference datasetReference)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/io/WriteRowToBigquery.java:33
↓ 1 callersMethodpostMessageHandler
(w http.ResponseWriter, r *http.Request)
golang/go-guestbook/src/backend/main.go:93
↓ 1 callersMethodprettyStringOf
(Schema schema)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/JsonToRow.java:97
↓ 1 callersFunctionrun
()
nodejs/gemini-api/index.js:6
↓ 1 callersFunctionsave
(message)
nodejs/nodejs-guestbook/src/backend/routes/messages.js:40
↓ 1 callersMethodsaveMessage
saveMessage makes a request to the backend to persist the message.
golang/go-guestbook/src/frontend/main.go:143
↓ 1 callersMethodserialize
Convert a {@link Row} to its JSON string encoding.
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/UserTypeJsonPayloadSerializer.java:73
↓ 1 callersMethodsetABoolean
(Boolean value)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/test/java/com/cloudcode/dataflow/example/testdata/FlatSchemaJavaBean.java:46
↓ 1 callersMethodsetADouble
(Double value)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/test/java/com/cloudcode/dataflow/example/testdata/FlatSchemaJavaBean.java:48
↓ 1 callersMethodsetAString
(String value)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/test/java/com/cloudcode/dataflow/example/testdata/FlatSchemaJavaBean.java:52
↓ 1 callersMethodsetAnInteger
(Integer value)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/test/java/com/cloudcode/dataflow/example/testdata/FlatSchemaJavaBean.java:50
↓ 1 callersMethodsetDate
(long date)
java/java-guestbook/backend/src/main/java/cloudcode/guestbook/backend/GuestBookEntry.java:32
↓ 1 callersMethodsetElement
(String value)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/ConversionError.java:32
↓ 1 callersMethodsetInstant
(Instant value)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/test/java/com/cloudcode/dataflow/example/testdata/FlatSchemaJavaBean.java:54
↓ 1 callersMethodsetMessage
(String value)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/ConversionError.java:30
↓ 1 callersFunctionsplitAndTrim
(value)
dotnet/dotnet-guestbook/src/frontend/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js:31
↓ 1 callersFunctiontest_request
()
python/python-hello-world/tests/test_end_to_end.py:46
↓ 1 callersFunctiontimeAgo
(utcTime, currTime)
nodejs/nodejs-guestbook/src/frontend/utils/index.js:4
MethodConfigure
This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
dotnet/dotnet-hello-world/src/Startup.cs:18
MethodConfigure
This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
dotnet/dotnet-cloud-run-hello-world/Startup.cs:56
MethodConfigure
This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
dotnet/dotnet-guestbook/src/frontend/Startup.cs:44
MethodConfigure
This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
dotnet/dotnet-guestbook/src/backend/Startup.cs:45
MethodConfigureServices
This method gets called by the runtime. Use this method to add services to the container. For more information on how to configure your application, v
dotnet/dotnet-hello-world/src/Startup.cs:12
MethodConfigureServices
This method gets called by the runtime. Use this method to add services to the container.
dotnet/dotnet-cloud-run-hello-world/Startup.cs:22
MethodConfigureServices
This method gets called by the runtime. Use this method to add services to the container.
dotnet/dotnet-guestbook/src/frontend/Startup.cs:26
MethodConfigureServices
This method gets called by the runtime. Use this method to add services to the container.
dotnet/dotnet-guestbook/src/backend/Startup.cs:20
MethodCreateHostBuilder
(string[] args)
dotnet/dotnet-hello-world/src/Program.cs:13
MethodCreateHostBuilder
(string[] args)
dotnet/dotnet-cloud-run-hello-world/Program.cs:19
next →1–100 of 238, ranked by callers