...

Source file src/google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance/video_classification.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance

     1  // Copyright 2021 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v3.12.2
    19  // source: google/cloud/aiplatform/v1/schema/predict/instance/video_classification.proto
    20  
    21  package instance
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    28  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    29  )
    30  
    31  const (
    32  	// Verify that this generated code is sufficiently up-to-date.
    33  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    34  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    36  )
    37  
    38  // Prediction input format for Video Classification.
    39  type VideoClassificationPredictionInstance struct {
    40  	state         protoimpl.MessageState
    41  	sizeCache     protoimpl.SizeCache
    42  	unknownFields protoimpl.UnknownFields
    43  
    44  	// The Google Cloud Storage location of the video on which to perform the
    45  	// prediction.
    46  	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
    47  	// The MIME type of the content of the video. Only the following are
    48  	// supported: video/mp4 video/avi video/quicktime
    49  	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
    50  	// The beginning, inclusive, of the video's time segment on which to perform
    51  	// the prediction. Expressed as a number of seconds as measured from the
    52  	// start of the video, with "s" appended at the end. Fractions are allowed,
    53  	// up to a microsecond precision.
    54  	TimeSegmentStart string `protobuf:"bytes,3,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"`
    55  	// The end, exclusive, of the video's time segment on which to perform
    56  	// the prediction. Expressed as a number of seconds as measured from the
    57  	// start of the video, with "s" appended at the end. Fractions are allowed,
    58  	// up to a microsecond precision, and "inf" or "Infinity" is allowed, which
    59  	// means the end of the video.
    60  	TimeSegmentEnd string `protobuf:"bytes,4,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"`
    61  }
    62  
    63  func (x *VideoClassificationPredictionInstance) Reset() {
    64  	*x = VideoClassificationPredictionInstance{}
    65  	if protoimpl.UnsafeEnabled {
    66  		mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_msgTypes[0]
    67  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    68  		ms.StoreMessageInfo(mi)
    69  	}
    70  }
    71  
    72  func (x *VideoClassificationPredictionInstance) String() string {
    73  	return protoimpl.X.MessageStringOf(x)
    74  }
    75  
    76  func (*VideoClassificationPredictionInstance) ProtoMessage() {}
    77  
    78  func (x *VideoClassificationPredictionInstance) ProtoReflect() protoreflect.Message {
    79  	mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_msgTypes[0]
    80  	if protoimpl.UnsafeEnabled && x != nil {
    81  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    82  		if ms.LoadMessageInfo() == nil {
    83  			ms.StoreMessageInfo(mi)
    84  		}
    85  		return ms
    86  	}
    87  	return mi.MessageOf(x)
    88  }
    89  
    90  // Deprecated: Use VideoClassificationPredictionInstance.ProtoReflect.Descriptor instead.
    91  func (*VideoClassificationPredictionInstance) Descriptor() ([]byte, []int) {
    92  	return file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDescGZIP(), []int{0}
    93  }
    94  
    95  func (x *VideoClassificationPredictionInstance) GetContent() string {
    96  	if x != nil {
    97  		return x.Content
    98  	}
    99  	return ""
   100  }
   101  
   102  func (x *VideoClassificationPredictionInstance) GetMimeType() string {
   103  	if x != nil {
   104  		return x.MimeType
   105  	}
   106  	return ""
   107  }
   108  
   109  func (x *VideoClassificationPredictionInstance) GetTimeSegmentStart() string {
   110  	if x != nil {
   111  		return x.TimeSegmentStart
   112  	}
   113  	return ""
   114  }
   115  
   116  func (x *VideoClassificationPredictionInstance) GetTimeSegmentEnd() string {
   117  	if x != nil {
   118  		return x.TimeSegmentEnd
   119  	}
   120  	return ""
   121  }
   122  
   123  var File_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto protoreflect.FileDescriptor
   124  
   125  var file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDesc = []byte{
   126  	0x0a, 0x4d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
   127  	0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68,
   128  	0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74,
   129  	0x61, 0x6e, 0x63, 0x65, 0x2f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73,
   130  	0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
   131  	0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69,
   132  	0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65,
   133  	0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61,
   134  	0x6e, 0x63, 0x65, 0x22, 0xb6, 0x01, 0x0a, 0x25, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61,
   135  	0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69,
   136  	0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a,
   137  	0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
   138  	0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f,
   139  	0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65,
   140  	0x54, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67,
   141  	0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
   142  	0x52, 0x10, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61,
   143  	0x72, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65,
   144  	0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x69,
   145  	0x6d, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x64, 0x42, 0xe7, 0x02, 0x0a,
   146  	0x36, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
   147  	0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e,
   148  	0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69,
   149  	0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x2a, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6c,
   150  	0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64,
   151  	0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72,
   152  	0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
   153  	0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74,
   154  	0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f,
   155  	0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31,
   156  	0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f,
   157  	0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x3b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
   158  	0x65, 0xaa, 0x02, 0x32, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64,
   159  	0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x2e, 0x53,
   160  	0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x49, 0x6e,
   161  	0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xca, 0x02, 0x32, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c,
   162  	0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
   163  	0x5c, 0x56, 0x31, 0x5c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69,
   164  	0x63, 0x74, 0x5c, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xea, 0x02, 0x38, 0x47, 0x6f,
   165  	0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50,
   166  	0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68,
   167  	0x65, 0x6d, 0x61, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x3a, 0x3a, 0x49, 0x6e,
   168  	0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   169  }
   170  
   171  var (
   172  	file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDescOnce sync.Once
   173  	file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDesc
   174  )
   175  
   176  func file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDescGZIP() []byte {
   177  	file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDescOnce.Do(func() {
   178  		file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDescData)
   179  	})
   180  	return file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDescData
   181  }
   182  
   183  var file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   184  var file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_goTypes = []interface{}{
   185  	(*VideoClassificationPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.instance.VideoClassificationPredictionInstance
   186  }
   187  var file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_depIdxs = []int32{
   188  	0, // [0:0] is the sub-list for method output_type
   189  	0, // [0:0] is the sub-list for method input_type
   190  	0, // [0:0] is the sub-list for extension type_name
   191  	0, // [0:0] is the sub-list for extension extendee
   192  	0, // [0:0] is the sub-list for field type_name
   193  }
   194  
   195  func init() {
   196  	file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_init()
   197  }
   198  func file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_init() {
   199  	if File_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto != nil {
   200  		return
   201  	}
   202  	if !protoimpl.UnsafeEnabled {
   203  		file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   204  			switch v := v.(*VideoClassificationPredictionInstance); i {
   205  			case 0:
   206  				return &v.state
   207  			case 1:
   208  				return &v.sizeCache
   209  			case 2:
   210  				return &v.unknownFields
   211  			default:
   212  				return nil
   213  			}
   214  		}
   215  	}
   216  	type x struct{}
   217  	out := protoimpl.TypeBuilder{
   218  		File: protoimpl.DescBuilder{
   219  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   220  			RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDesc,
   221  			NumEnums:      0,
   222  			NumMessages:   1,
   223  			NumExtensions: 0,
   224  			NumServices:   0,
   225  		},
   226  		GoTypes:           file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_goTypes,
   227  		DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_depIdxs,
   228  		MessageInfos:      file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_msgTypes,
   229  	}.Build()
   230  	File_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto = out.File
   231  	file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDesc = nil
   232  	file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_goTypes = nil
   233  	file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_depIdxs = nil
   234  }
   235  

View as plain text