Skip to content
This repository has been archived by the owner on Sep 9, 2023. It is now read-only.

Commit

Permalink
feat: making network arg optional in aiplatform v1 custom_job.proto (#…
Browse files Browse the repository at this point in the history
…999)

- [ ] Regenerate this pull request now.

feat: added SHARED_RESOURCES enum to aiplatform v1 model.proto
docs: doc edits to aiplatform v1 dataset_service.proto, job_service.proto, model_service.proto, pipeline_service.proto, saved_query.proto, study.proto, types.proto

PiperOrigin-RevId: 463932566

Source-Link: googleapis/googleapis@37aaa1e

Source-Link: googleapis/googleapis-gen@081281c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDgxMjgxY2UxZjhkYmYwYTcyODJhZTNlY2M2MDFmZWE1ODM1NWRiNCJ9

feat: making network arg optional in aiplatform v1beta1 custom_job.proto
feat: DeploymentResourcePool and DeployementResourcePoolService added to aiplatform v1beta1 model.proto (cl/463147866)
docs: doc edits to aiplatform v1beta1 job_service.proto, model_service.proto, pipeline_service.proto, saved_query.proto, study.proto, types.proto

PiperOrigin-RevId: 463932106

Source-Link: googleapis/googleapis@efbe03d

Source-Link: googleapis/googleapis-gen@e012128
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTAxMjEyOGI3ZDNmYzk5YTk5NmQ1YTk1ZDM3NjVkNDA2YmYyNzk3ZSJ9
  • Loading branch information
gcf-owl-bot[bot] committed Jul 29, 2022
1 parent 49fb069 commit 3935d8f
Show file tree
Hide file tree
Showing 69 changed files with 1,662 additions and 1,114 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,44 +100,44 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ebAccessUrisEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030"
+ "\002 \001(\t:\0028\001:i\352Af\n#aiplatform.googleapis.co"
+ "m/CustomJob\022?projects/{project}/location"
+ "s/{location}/customJobs/{custom_job}\"\266\003\n"
+ "s/{location}/customJobs/{custom_job}\"\271\003\n"
+ "\rCustomJobSpec\022J\n\021worker_pool_specs\030\001 \003("
+ "\0132*.google.cloud.aiplatform.v1.WorkerPoo"
+ "lSpecB\003\340A\002\022:\n\nscheduling\030\003 \001(\0132&.google."
+ "cloud.aiplatform.v1.Scheduling\022\027\n\017servic"
+ "e_account\030\004 \001(\t\0224\n\007network\030\005 \001(\tB#\372A \n\036c"
+ "ompute.googleapis.com/Network\022\037\n\022reserve"
+ "d_ip_ranges\030\r \003(\tB\003\340A\001\022I\n\025base_output_di"
+ "rectory\030\006 \001(\0132*.google.cloud.aiplatform."
+ "v1.GcsDestination\022B\n\013tensorboard\030\007 \001(\tB-"
+ "\340A\001\372A\'\n%aiplatform.googleapis.com/Tensor"
+ "board\022\036\n\021enable_web_access\030\n \001(\010B\003\340A\001\"\206\003"
+ "\n\016WorkerPoolSpec\022C\n\016container_spec\030\006 \001(\013"
+ "2).google.cloud.aiplatform.v1.ContainerS"
+ "pecH\000\022L\n\023python_package_spec\030\007 \001(\0132-.goo"
+ "gle.cloud.aiplatform.v1.PythonPackageSpe"
+ "cH\000\022E\n\014machine_spec\030\001 \001(\0132\'.google.cloud"
+ ".aiplatform.v1.MachineSpecB\006\340A\001\340A\005\022\032\n\rre"
+ "plica_count\030\002 \001(\003B\003\340A\001\022=\n\nnfs_mounts\030\004 \003"
+ "(\0132$.google.cloud.aiplatform.v1.NfsMount"
+ "B\003\340A\001\0227\n\tdisk_spec\030\005 \001(\0132$.google.cloud."
+ "aiplatform.v1.DiskSpecB\006\n\004task\"w\n\rContai"
+ "nerSpec\022\026\n\timage_uri\030\001 \001(\tB\003\340A\002\022\017\n\007comma"
+ "nd\030\002 \003(\t\022\014\n\004args\030\003 \003(\t\022/\n\003env\030\004 \003(\0132\".go"
+ "ogle.cloud.aiplatform.v1.EnvVar\"\252\001\n\021Pyth"
+ "onPackageSpec\022\037\n\022executor_image_uri\030\001 \001("
+ "\tB\003\340A\002\022\031\n\014package_uris\030\002 \003(\tB\003\340A\002\022\032\n\rpyt"
+ "hon_module\030\003 \001(\tB\003\340A\002\022\014\n\004args\030\004 \003(\t\022/\n\003e"
+ "nv\030\005 \003(\0132\".google.cloud.aiplatform.v1.En"
+ "vVar\"_\n\nScheduling\022*\n\007timeout\030\001 \001(\0132\031.go"
+ "ogle.protobuf.Duration\022%\n\035restart_job_on"
+ "_worker_restart\030\003 \001(\010B\322\001\n\036com.google.clo"
+ "ud.aiplatform.v1B\016CustomJobProtoP\001ZDgoog"
+ "le.golang.org/genproto/googleapis/cloud/"
+ "aiplatform/v1;aiplatform\252\002\032Google.Cloud."
+ "AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform\\"
+ "V1\352\002\035Google::Cloud::AIPlatform::V1b\006prot"
+ "o3"
+ "e_account\030\004 \001(\t\0227\n\007network\030\005 \001(\tB&\340A\001\372A "
+ "\n\036compute.googleapis.com/Network\022\037\n\022rese"
+ "rved_ip_ranges\030\r \003(\tB\003\340A\001\022I\n\025base_output"
+ "_directory\030\006 \001(\0132*.google.cloud.aiplatfo"
+ "rm.v1.GcsDestination\022B\n\013tensorboard\030\007 \001("
+ "\tB-\340A\001\372A\'\n%aiplatform.googleapis.com/Ten"
+ "sorboard\022\036\n\021enable_web_access\030\n \001(\010B\003\340A\001"
+ "\"\206\003\n\016WorkerPoolSpec\022C\n\016container_spec\030\006 "
+ "\001(\0132).google.cloud.aiplatform.v1.Contain"
+ "erSpecH\000\022L\n\023python_package_spec\030\007 \001(\0132-."
+ "google.cloud.aiplatform.v1.PythonPackage"
+ "SpecH\000\022E\n\014machine_spec\030\001 \001(\0132\'.google.cl"
+ "oud.aiplatform.v1.MachineSpecB\006\340A\001\340A\005\022\032\n"
+ "\rreplica_count\030\002 \001(\003B\003\340A\001\022=\n\nnfs_mounts\030"
+ "\004 \003(\0132$.google.cloud.aiplatform.v1.NfsMo"
+ "untB\003\340A\001\0227\n\tdisk_spec\030\005 \001(\0132$.google.clo"
+ "ud.aiplatform.v1.DiskSpecB\006\n\004task\"w\n\rCon"
+ "tainerSpec\022\026\n\timage_uri\030\001 \001(\tB\003\340A\002\022\017\n\007co"
+ "mmand\030\002 \003(\t\022\014\n\004args\030\003 \003(\t\022/\n\003env\030\004 \003(\0132\""
+ ".google.cloud.aiplatform.v1.EnvVar\"\252\001\n\021P"
+ "ythonPackageSpec\022\037\n\022executor_image_uri\030\001"
+ " \001(\tB\003\340A\002\022\031\n\014package_uris\030\002 \003(\tB\003\340A\002\022\032\n\r"
+ "python_module\030\003 \001(\tB\003\340A\002\022\014\n\004args\030\004 \003(\t\022/"
+ "\n\003env\030\005 \003(\0132\".google.cloud.aiplatform.v1"
+ ".EnvVar\"_\n\nScheduling\022*\n\007timeout\030\001 \001(\0132\031"
+ ".google.protobuf.Duration\022%\n\035restart_job"
+ "_on_worker_restart\030\003 \001(\010B\322\001\n\036com.google."
+ "cloud.aiplatform.v1B\016CustomJobProtoP\001ZDg"
+ "oogle.golang.org/genproto/googleapis/clo"
+ "ud/aiplatform/v1;aiplatform\252\002\032Google.Clo"
+ "ud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfo"
+ "rm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006p"
+ "roto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*
* <pre>
* Represents the spec of a CustomJob.
* Next Id: 14
* Next Id: 15
* </pre>
*
* Protobuf type {@code google.cloud.aiplatform.v1.CustomJobSpec}
Expand Down Expand Up @@ -399,7 +399,7 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
*
*
* <pre>
* The full name of the Compute Engine
* Optional. The full name of the Compute Engine
* [network](/compute/docs/networks-and-firewalls#networks) to which the Job
* should be peered. For example, `projects/12345/global/networks/myVPC`.
* [Format](/compute/docs/reference/rest/v1/networks/insert)
Expand All @@ -412,7 +412,9 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
* If this field is left unspecified, the job is not peered with any network.
* </pre>
*
* <code>string network = 5 [(.google.api.resource_reference) = { ... }</code>
* <code>
* string network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The network.
*/
Expand All @@ -432,7 +434,7 @@ public java.lang.String getNetwork() {
*
*
* <pre>
* The full name of the Compute Engine
* Optional. The full name of the Compute Engine
* [network](/compute/docs/networks-and-firewalls#networks) to which the Job
* should be peered. For example, `projects/12345/global/networks/myVPC`.
* [Format](/compute/docs/reference/rest/v1/networks/insert)
Expand All @@ -445,7 +447,9 @@ public java.lang.String getNetwork() {
* If this field is left unspecified, the job is not peered with any network.
* </pre>
*
* <code>string network = 5 [(.google.api.resource_reference) = { ... }</code>
* <code>
* string network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The bytes for network.
*/
Expand Down Expand Up @@ -964,7 +968,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* <pre>
* Represents the spec of a CustomJob.
* Next Id: 14
* Next Id: 15
* </pre>
*
* Protobuf type {@code google.cloud.aiplatform.v1.CustomJobSpec}
Expand Down Expand Up @@ -1978,7 +1982,7 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) {
*
*
* <pre>
* The full name of the Compute Engine
* Optional. The full name of the Compute Engine
* [network](/compute/docs/networks-and-firewalls#networks) to which the Job
* should be peered. For example, `projects/12345/global/networks/myVPC`.
* [Format](/compute/docs/reference/rest/v1/networks/insert)
Expand All @@ -1991,7 +1995,9 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) {
* If this field is left unspecified, the job is not peered with any network.
* </pre>
*
* <code>string network = 5 [(.google.api.resource_reference) = { ... }</code>
* <code>
* string network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The network.
*/
Expand All @@ -2010,7 +2016,7 @@ public java.lang.String getNetwork() {
*
*
* <pre>
* The full name of the Compute Engine
* Optional. The full name of the Compute Engine
* [network](/compute/docs/networks-and-firewalls#networks) to which the Job
* should be peered. For example, `projects/12345/global/networks/myVPC`.
* [Format](/compute/docs/reference/rest/v1/networks/insert)
Expand All @@ -2023,7 +2029,9 @@ public java.lang.String getNetwork() {
* If this field is left unspecified, the job is not peered with any network.
* </pre>
*
* <code>string network = 5 [(.google.api.resource_reference) = { ... }</code>
* <code>
* string network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The bytes for network.
*/
Expand All @@ -2042,7 +2050,7 @@ public com.google.protobuf.ByteString getNetworkBytes() {
*
*
* <pre>
* The full name of the Compute Engine
* Optional. The full name of the Compute Engine
* [network](/compute/docs/networks-and-firewalls#networks) to which the Job
* should be peered. For example, `projects/12345/global/networks/myVPC`.
* [Format](/compute/docs/reference/rest/v1/networks/insert)
Expand All @@ -2055,7 +2063,9 @@ public com.google.protobuf.ByteString getNetworkBytes() {
* If this field is left unspecified, the job is not peered with any network.
* </pre>
*
* <code>string network = 5 [(.google.api.resource_reference) = { ... }</code>
* <code>
* string network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
* </code>
*
* @param value The network to set.
* @return This builder for chaining.
Expand All @@ -2073,7 +2083,7 @@ public Builder setNetwork(java.lang.String value) {
*
*
* <pre>
* The full name of the Compute Engine
* Optional. The full name of the Compute Engine
* [network](/compute/docs/networks-and-firewalls#networks) to which the Job
* should be peered. For example, `projects/12345/global/networks/myVPC`.
* [Format](/compute/docs/reference/rest/v1/networks/insert)
Expand All @@ -2086,7 +2096,9 @@ public Builder setNetwork(java.lang.String value) {
* If this field is left unspecified, the job is not peered with any network.
* </pre>
*
* <code>string network = 5 [(.google.api.resource_reference) = { ... }</code>
* <code>
* string network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
* </code>
*
* @return This builder for chaining.
*/
Expand All @@ -2100,7 +2112,7 @@ public Builder clearNetwork() {
*
*
* <pre>
* The full name of the Compute Engine
* Optional. The full name of the Compute Engine
* [network](/compute/docs/networks-and-firewalls#networks) to which the Job
* should be peered. For example, `projects/12345/global/networks/myVPC`.
* [Format](/compute/docs/reference/rest/v1/networks/insert)
Expand All @@ -2113,7 +2125,9 @@ public Builder clearNetwork() {
* If this field is left unspecified, the job is not peered with any network.
* </pre>
*
* <code>string network = 5 [(.google.api.resource_reference) = { ... }</code>
* <code>
* string network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
* </code>
*
* @param value The bytes for network to set.
* @return This builder for chaining.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public interface CustomJobSpecOrBuilder
*
*
* <pre>
* The full name of the Compute Engine
* Optional. The full name of the Compute Engine
* [network](/compute/docs/networks-and-firewalls#networks) to which the Job
* should be peered. For example, `projects/12345/global/networks/myVPC`.
* [Format](/compute/docs/reference/rest/v1/networks/insert)
Expand All @@ -180,7 +180,9 @@ public interface CustomJobSpecOrBuilder
* If this field is left unspecified, the job is not peered with any network.
* </pre>
*
* <code>string network = 5 [(.google.api.resource_reference) = { ... }</code>
* <code>
* string network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The network.
*/
Expand All @@ -189,7 +191,7 @@ public interface CustomJobSpecOrBuilder
*
*
* <pre>
* The full name of the Compute Engine
* Optional. The full name of the Compute Engine
* [network](/compute/docs/networks-and-firewalls#networks) to which the Job
* should be peered. For example, `projects/12345/global/networks/myVPC`.
* [Format](/compute/docs/reference/rest/v1/networks/insert)
Expand All @@ -202,7 +204,9 @@ public interface CustomJobSpecOrBuilder
* If this field is left unspecified, the job is not peered with any network.
* </pre>
*
* <code>string network = 5 [(.google.api.resource_reference) = { ... }</code>
* <code>
* string network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The bytes for network.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* <pre>
* A list of bool values.
* A list of double values.
* </pre>
*
* <code>repeated double values = 1;</code>
Expand All @@ -154,7 +154,7 @@ public java.util.List<java.lang.Double> getValuesList() {
*
*
* <pre>
* A list of bool values.
* A list of double values.
* </pre>
*
* <code>repeated double values = 1;</code>
Expand All @@ -168,7 +168,7 @@ public int getValuesCount() {
*
*
* <pre>
* A list of bool values.
* A list of double values.
* </pre>
*
* <code>repeated double values = 1;</code>
Expand Down Expand Up @@ -537,7 +537,7 @@ private void ensureValuesIsMutable() {
*
*
* <pre>
* A list of bool values.
* A list of double values.
* </pre>
*
* <code>repeated double values = 1;</code>
Expand All @@ -553,7 +553,7 @@ public java.util.List<java.lang.Double> getValuesList() {
*
*
* <pre>
* A list of bool values.
* A list of double values.
* </pre>
*
* <code>repeated double values = 1;</code>
Expand All @@ -567,7 +567,7 @@ public int getValuesCount() {
*
*
* <pre>
* A list of bool values.
* A list of double values.
* </pre>
*
* <code>repeated double values = 1;</code>
Expand All @@ -582,7 +582,7 @@ public double getValues(int index) {
*
*
* <pre>
* A list of bool values.
* A list of double values.
* </pre>
*
* <code>repeated double values = 1;</code>
Expand All @@ -601,7 +601,7 @@ public Builder setValues(int index, double value) {
*
*
* <pre>
* A list of bool values.
* A list of double values.
* </pre>
*
* <code>repeated double values = 1;</code>
Expand All @@ -619,7 +619,7 @@ public Builder addValues(double value) {
*
*
* <pre>
* A list of bool values.
* A list of double values.
* </pre>
*
* <code>repeated double values = 1;</code>
Expand All @@ -637,7 +637,7 @@ public Builder addAllValues(java.lang.Iterable<? extends java.lang.Double> value
*
*
* <pre>
* A list of bool values.
* A list of double values.
* </pre>
*
* <code>repeated double values = 1;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public interface DoubleArrayOrBuilder
*
*
* <pre>
* A list of bool values.
* A list of double values.
* </pre>
*
* <code>repeated double values = 1;</code>
Expand All @@ -39,7 +39,7 @@ public interface DoubleArrayOrBuilder
*
*
* <pre>
* A list of bool values.
* A list of double values.
* </pre>
*
* <code>repeated double values = 1;</code>
Expand All @@ -51,7 +51,7 @@ public interface DoubleArrayOrBuilder
*
*
* <pre>
* A list of bool values.
* A list of double values.
* </pre>
*
* <code>repeated double values = 1;</code>
Expand Down
Loading

0 comments on commit 3935d8f

Please sign in to comment.