diff --git a/java-shell/proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/CloudShellProto.java b/java-shell/proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/CloudShellProto.java index 819ddaf33561..0cd8414db62f 100644 --- a/java-shell/proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/CloudShellProto.java +++ b/java-shell/proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/CloudShellProto.java @@ -109,81 +109,80 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tations.proto\032\027google/api/client.proto\032\037" + "google/api/field_behavior.proto\032\031google/" + "api/resource.proto\032#google/longrunning/o" - + "perations.proto\032 google/protobuf/field_m" - + "ask.proto\032\037google/protobuf/timestamp.pro" - + "to\"\263\003\n\013Environment\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\017\n" - + "\002id\030\002 \001(\tB\003\340A\003\022\034\n\014docker_image\030\003 \001(\tB\006\340A" - + "\002\340A\005\022<\n\005state\030\004 \001(\0162(.google.cloud.shell" - + ".v1.Environment.StateB\003\340A\003\022\025\n\010web_host\030\014" - + " \001(\tB\003\340A\003\022\031\n\014ssh_username\030\005 \001(\tB\003\340A\003\022\025\n\010" - + "ssh_host\030\006 \001(\tB\003\340A\003\022\025\n\010ssh_port\030\007 \001(\005B\003\340" - + "A\003\022\030\n\013public_keys\030\010 \003(\tB\003\340A\003\"U\n\005State\022\025\n" - + "\021STATE_UNSPECIFIED\020\000\022\r\n\tSUSPENDED\020\001\022\013\n\007P" - + "ENDING\020\002\022\013\n\007RUNNING\020\003\022\014\n\010DELETING\020\004:S\352AP" - + "\n%cloudshell.googleapis.com/Environment\022" - + "\'users/{user}/environments/{environment}" - + "\"T\n\025GetEnvironmentRequest\022;\n\004name\030\001 \001(\tB" - + "-\340A\002\372A\'\n%cloudshell.googleapis.com/Envir" - + "onment\"\033\n\031CreateEnvironmentMetadata\"\033\n\031D" - + "eleteEnvironmentMetadata\"R\n\027StartEnviron" - + "mentRequest\022\014\n\004name\030\001 \001(\t\022\024\n\014access_toke" - + "n\030\002 \001(\t\022\023\n\013public_keys\030\003 \003(\t\"\204\001\n\033Authori" - + "zeEnvironmentRequest\022\014\n\004name\030\001 \001(\t\022\024\n\014ac" - + "cess_token\030\002 \001(\t\022\020\n\010id_token\030\004 \001(\t\022/\n\013ex" - + "pire_time\030\003 \001(\0132\032.google.protobuf.Timest" - + "amp\"\036\n\034AuthorizeEnvironmentResponse\"\036\n\034A" - + "uthorizeEnvironmentMetadata\"\322\001\n\030StartEnv" - + "ironmentMetadata\022D\n\005state\030\001 \001(\01625.google" - + ".cloud.shell.v1.StartEnvironmentMetadata" - + ".State\"p\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014" - + "\n\010STARTING\020\001\022\024\n\020UNARCHIVING_DISK\020\002\022\036\n\032AW" - + "AITING_COMPUTE_RESOURCES\020\004\022\014\n\010FINISHED\020\003" - + "\"S\n\030StartEnvironmentResponse\0227\n\013environm" - + "ent\030\001 \001(\0132\".google.cloud.shell.v1.Enviro" - + "nment\"7\n\023AddPublicKeyRequest\022\023\n\013environm" - + "ent\030\001 \001(\t\022\013\n\003key\030\002 \001(\t\"#\n\024AddPublicKeyRe" - + "sponse\022\013\n\003key\030\001 \001(\t\"\026\n\024AddPublicKeyMetad" - + "ata\":\n\026RemovePublicKeyRequest\022\023\n\013environ" - + "ment\030\001 \001(\t\022\013\n\003key\030\002 \001(\t\"\031\n\027RemovePublicK" - + "eyResponse\"\031\n\027RemovePublicKeyMetadata\"\201\002" - + "\n\026CloudShellErrorDetails\022O\n\004code\030\001 \001(\0162A" - + ".google.cloud.shell.v1.CloudShellErrorDe" - + "tails.CloudShellErrorCode\"\225\001\n\023CloudShell" - + "ErrorCode\022&\n\"CLOUD_SHELL_ERROR_CODE_UNSP" - + "ECIFIED\020\000\022\025\n\021IMAGE_UNAVAILABLE\020\001\022\030\n\024CLOU" - + "D_SHELL_DISABLED\020\002\022\021\n\rTOS_VIOLATION\020\004\022\022\n" - + "\016QUOTA_EXCEEDED\020\0052\324\010\n\021CloudShellService\022" - + "\224\001\n\016GetEnvironment\022,.google.cloud.shell." - + "v1.GetEnvironmentRequest\032\".google.cloud." - + "shell.v1.Environment\"0\202\323\344\223\002#\022!/v1/{name=" - + "users/*/environments/*}\332A\004name\022\314\001\n\020Start" - + "Environment\022..google.cloud.shell.v1.Star" - + "tEnvironmentRequest\032\035.google.longrunning" - + ".Operation\"i\202\323\344\223\002,\"\'/v1/{name=users/*/en" - + "vironments/*}:start:\001*\312A4\n\030StartEnvironm" - + "entResponse\022\030StartEnvironmentMetadata\022\340\001" - + "\n\024AuthorizeEnvironment\0222.google.cloud.sh" - + "ell.v1.AuthorizeEnvironmentRequest\032\035.goo" - + "gle.longrunning.Operation\"u\202\323\344\223\0020\"+/v1/{" - + "name=users/*/environments/*}:authorize:\001" - + "*\312A<\n\034AuthorizeEnvironmentResponse\022\034Auth" - + "orizeEnvironmentMetadata\022\312\001\n\014AddPublicKe" - + "y\022*.google.cloud.shell.v1.AddPublicKeyRe" - + "quest\032\035.google.longrunning.Operation\"o\202\323" - + "\344\223\002:\"5/v1/{environment=users/*/environme" - + "nts/*}:addPublicKey:\001*\312A,\n\024AddPublicKeyR" - + "esponse\022\024AddPublicKeyMetadata\022\331\001\n\017Remove" - + "PublicKey\022-.google.cloud.shell.v1.Remove" - + "PublicKeyRequest\032\035.google.longrunning.Op" - + "eration\"x\202\323\344\223\002=\"8/v1/{environment=users/" - + "*/environments/*}:removePublicKey:\001*\312A2\n" - + "\027RemovePublicKeyResponse\022\027RemovePublicKe" - + "yMetadata\032M\312A\031cloudshell.googleapis.com\322" - + "A.https://www.googleapis.com/auth/cloud-" - + "platformBj\n\031com.google.cloud.shell.v1B\017C" - + "loudShellProtoP\001Z:google.golang.org/genp" - + "roto/googleapis/cloud/shell/v1;shellb\006pr" - + "oto3" + + "perations.proto\032\037google/protobuf/timesta" + + "mp.proto\"\263\003\n\013Environment\022\021\n\004name\030\001 \001(\tB\003" + + "\340A\005\022\017\n\002id\030\002 \001(\tB\003\340A\003\022\034\n\014docker_image\030\003 \001" + + "(\tB\006\340A\002\340A\005\022<\n\005state\030\004 \001(\0162(.google.cloud" + + ".shell.v1.Environment.StateB\003\340A\003\022\025\n\010web_" + + "host\030\014 \001(\tB\003\340A\003\022\031\n\014ssh_username\030\005 \001(\tB\003\340" + + "A\003\022\025\n\010ssh_host\030\006 \001(\tB\003\340A\003\022\025\n\010ssh_port\030\007 " + + "\001(\005B\003\340A\003\022\030\n\013public_keys\030\010 \003(\tB\003\340A\003\"U\n\005St" + + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\r\n\tSUSPENDED\020" + + "\001\022\013\n\007PENDING\020\002\022\013\n\007RUNNING\020\003\022\014\n\010DELETING\020" + + "\004:S\352AP\n%cloudshell.googleapis.com/Enviro" + + "nment\022\'users/{user}/environments/{enviro" + + "nment}\"T\n\025GetEnvironmentRequest\022;\n\004name\030" + + "\001 \001(\tB-\340A\002\372A\'\n%cloudshell.googleapis.com" + + "/Environment\"\033\n\031CreateEnvironmentMetadat" + + "a\"\033\n\031DeleteEnvironmentMetadata\"R\n\027StartE" + + "nvironmentRequest\022\014\n\004name\030\001 \001(\t\022\024\n\014acces" + + "s_token\030\002 \001(\t\022\023\n\013public_keys\030\003 \003(\t\"\204\001\n\033A" + + "uthorizeEnvironmentRequest\022\014\n\004name\030\001 \001(\t" + + "\022\024\n\014access_token\030\002 \001(\t\022\020\n\010id_token\030\004 \001(\t" + + "\022/\n\013expire_time\030\003 \001(\0132\032.google.protobuf." + + "Timestamp\"\036\n\034AuthorizeEnvironmentRespons" + + "e\"\036\n\034AuthorizeEnvironmentMetadata\"\322\001\n\030St" + + "artEnvironmentMetadata\022D\n\005state\030\001 \001(\01625." + + "google.cloud.shell.v1.StartEnvironmentMe" + + "tadata.State\"p\n\005State\022\025\n\021STATE_UNSPECIFI" + + "ED\020\000\022\014\n\010STARTING\020\001\022\024\n\020UNARCHIVING_DISK\020\002" + + "\022\036\n\032AWAITING_COMPUTE_RESOURCES\020\004\022\014\n\010FINI" + + "SHED\020\003\"S\n\030StartEnvironmentResponse\0227\n\013en" + + "vironment\030\001 \001(\0132\".google.cloud.shell.v1." + + "Environment\"7\n\023AddPublicKeyRequest\022\023\n\013en" + + "vironment\030\001 \001(\t\022\013\n\003key\030\002 \001(\t\"#\n\024AddPubli" + + "cKeyResponse\022\013\n\003key\030\001 \001(\t\"\026\n\024AddPublicKe" + + "yMetadata\":\n\026RemovePublicKeyRequest\022\023\n\013e" + + "nvironment\030\001 \001(\t\022\013\n\003key\030\002 \001(\t\"\031\n\027RemoveP" + + "ublicKeyResponse\"\031\n\027RemovePublicKeyMetad" + + "ata\"\201\002\n\026CloudShellErrorDetails\022O\n\004code\030\001" + + " \001(\0162A.google.cloud.shell.v1.CloudShellE" + + "rrorDetails.CloudShellErrorCode\"\225\001\n\023Clou" + + "dShellErrorCode\022&\n\"CLOUD_SHELL_ERROR_COD" + + "E_UNSPECIFIED\020\000\022\025\n\021IMAGE_UNAVAILABLE\020\001\022\030" + + "\n\024CLOUD_SHELL_DISABLED\020\002\022\021\n\rTOS_VIOLATIO" + + "N\020\004\022\022\n\016QUOTA_EXCEEDED\020\0052\324\010\n\021CloudShellSe" + + "rvice\022\224\001\n\016GetEnvironment\022,.google.cloud." + + "shell.v1.GetEnvironmentRequest\032\".google." + + "cloud.shell.v1.Environment\"0\202\323\344\223\002#\022!/v1/" + + "{name=users/*/environments/*}\332A\004name\022\314\001\n" + + "\020StartEnvironment\022..google.cloud.shell.v" + + "1.StartEnvironmentRequest\032\035.google.longr" + + "unning.Operation\"i\202\323\344\223\002,\"\'/v1/{name=user" + + "s/*/environments/*}:start:\001*\312A4\n\030StartEn" + + "vironmentResponse\022\030StartEnvironmentMetad" + + "ata\022\340\001\n\024AuthorizeEnvironment\0222.google.cl" + + "oud.shell.v1.AuthorizeEnvironmentRequest" + + "\032\035.google.longrunning.Operation\"u\202\323\344\223\0020\"" + + "+/v1/{name=users/*/environments/*}:autho" + + "rize:\001*\312A<\n\034AuthorizeEnvironmentResponse" + + "\022\034AuthorizeEnvironmentMetadata\022\312\001\n\014AddPu" + + "blicKey\022*.google.cloud.shell.v1.AddPubli" + + "cKeyRequest\032\035.google.longrunning.Operati" + + "on\"o\202\323\344\223\002:\"5/v1/{environment=users/*/env" + + "ironments/*}:addPublicKey:\001*\312A,\n\024AddPubl" + + "icKeyResponse\022\024AddPublicKeyMetadata\022\331\001\n\017" + + "RemovePublicKey\022-.google.cloud.shell.v1." + + "RemovePublicKeyRequest\032\035.google.longrunn" + + "ing.Operation\"x\202\323\344\223\002=\"8/v1/{environment=" + + "users/*/environments/*}:removePublicKey:" + + "\001*\312A2\n\027RemovePublicKeyResponse\022\027RemovePu" + + "blicKeyMetadata\032M\312A\031cloudshell.googleapi" + + "s.com\322A.https://www.googleapis.com/auth/" + + "cloud-platformBj\n\031com.google.cloud.shell" + + ".v1B\017CloudShellProtoP\001Z:google.golang.or" + + "g/genproto/googleapis/cloud/shell/v1;she" + + "llb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -194,7 +193,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_google_cloud_shell_v1_Environment_descriptor = @@ -344,7 +342,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/java-shell/proto-google-cloud-shell-v1/src/main/proto/google/cloud/shell/v1/cloudshell.proto b/java-shell/proto-google-cloud-shell-v1/src/main/proto/google/cloud/shell/v1/cloudshell.proto index f4b35b171cdc..6d4f6c6b01e5 100644 --- a/java-shell/proto-google-cloud-shell-v1/src/main/proto/google/cloud/shell/v1/cloudshell.proto +++ b/java-shell/proto-google-cloud-shell-v1/src/main/proto/google/cloud/shell/v1/cloudshell.proto @@ -21,7 +21,6 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/longrunning/operations.proto"; -import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/shell/v1;shell";