1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/automl/v1/text_segment.proto 18 19 package com.google.cloud.automl.v1; 20 21 public final class TextSegmentProto { TextSegmentProto()22 private TextSegmentProto() {} 23 registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} 25 registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { 27 registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); 28 } 29 30 static final com.google.protobuf.Descriptors.Descriptor 31 internal_static_google_cloud_automl_v1_TextSegment_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_cloud_automl_v1_TextSegment_fieldAccessorTable; 34 getDescriptor()35 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 36 return descriptor; 37 } 38 39 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 40 41 static { 42 java.lang.String[] descriptorData = { 43 "\n)google/cloud/automl/v1/text_segment.pr" 44 + "oto\022\026google.cloud.automl.v1\"H\n\013TextSegme" 45 + "nt\022\017\n\007content\030\003 \001(\t\022\024\n\014start_offset\030\001 \001(" 46 + "\003\022\022\n\nend_offset\030\002 \001(\003B\262\001\n\032com.google.clo" 47 + "ud.automl.v1B\020TextSegmentProtoP\001Z2cloud." 48 + "google.com/go/automl/apiv1/automlpb;auto" 49 + "mlpb\252\002\026Google.Cloud.AutoML.V1\312\002\026Google\\C" 50 + "loud\\AutoMl\\V1\352\002\031Google::Cloud::AutoML::" 51 + "V1b\006proto3" 52 }; 53 descriptor = 54 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 55 descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); 56 internal_static_google_cloud_automl_v1_TextSegment_descriptor = 57 getDescriptor().getMessageTypes().get(0); 58 internal_static_google_cloud_automl_v1_TextSegment_fieldAccessorTable = 59 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 60 internal_static_google_cloud_automl_v1_TextSegment_descriptor, 61 new java.lang.String[] { 62 "Content", "StartOffset", "EndOffset", 63 }); 64 } 65 66 // @@protoc_insertion_point(outer_class_scope) 67 } 68