// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/automl/v1beta1/temporal.proto

package automl

import (
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
	duration "github.com/golang/protobuf/ptypes/duration"
	_ "google.golang.org/genproto/googleapis/api/annotations"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

// A time period inside of an example that has a time dimension (e.g. video).
type TimeSegment struct {
	// Start of the time segment (inclusive), represented as the duration since
	// the example start.
	StartTimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
	// End of the time segment (exclusive), represented as the duration since the
	// example start.
	EndTimeOffset        *duration.Duration `protobuf:"bytes,2,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (m *TimeSegment) Reset()         { *m = TimeSegment{} }
func (m *TimeSegment) String() string { return proto.CompactTextString(m) }
func (*TimeSegment) ProtoMessage()    {}
func (*TimeSegment) Descriptor() ([]byte, []int) {
	return fileDescriptor_7ab98b0922d3bd6f, []int{0}
}

func (m *TimeSegment) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_TimeSegment.Unmarshal(m, b)
}
func (m *TimeSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_TimeSegment.Marshal(b, m, deterministic)
}
func (m *TimeSegment) XXX_Merge(src proto.Message) {
	xxx_messageInfo_TimeSegment.Merge(m, src)
}
func (m *TimeSegment) XXX_Size() int {
	return xxx_messageInfo_TimeSegment.Size(m)
}
func (m *TimeSegment) XXX_DiscardUnknown() {
	xxx_messageInfo_TimeSegment.DiscardUnknown(m)
}

var xxx_messageInfo_TimeSegment proto.InternalMessageInfo

func (m *TimeSegment) GetStartTimeOffset() *duration.Duration {
	if m != nil {
		return m.StartTimeOffset
	}
	return nil
}

func (m *TimeSegment) GetEndTimeOffset() *duration.Duration {
	if m != nil {
		return m.EndTimeOffset
	}
	return nil
}

func init() {
	proto.RegisterType((*TimeSegment)(nil), "google.cloud.automl.v1beta1.TimeSegment")
}

func init() {
	proto.RegisterFile("google/cloud/automl/v1beta1/temporal.proto", fileDescriptor_7ab98b0922d3bd6f)
}

var fileDescriptor_7ab98b0922d3bd6f = []byte{
	// 264 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xbd, 0x4a, 0x34, 0x31,
	0x14, 0x40, 0xc9, 0x16, 0x5f, 0x91, 0xe5, 0x63, 0x71, 0x2a, 0xdd, 0x15, 0x15, 0x2b, 0xb1, 0x48,
	0x58, 0x2d, 0xad, 0xc6, 0x1f, 0xac, 0x44, 0x51, 0xb1, 0x90, 0x81, 0x25, 0xb3, 0x73, 0x27, 0x04,
	0x92, 0xdc, 0x21, 0x73, 0xe3, 0x13, 0xf8, 0x0e, 0xbe, 0x93, 0x4f, 0x25, 0x9b, 0x44, 0x44, 0x10,
	0x2d, 0xc3, 0x39, 0xf7, 0xdc, 0x24, 0xfc, 0x58, 0x23, 0x6a, 0x0b, 0x72, 0x6d, 0x31, 0x76, 0x52,
	0x45, 0x42, 0x67, 0xe5, 0xcb, 0xb2, 0x05, 0x52, 0x4b, 0x49, 0xe0, 0x06, 0x0c, 0xca, 0x8a, 0x21,
	0x20, 0x61, 0xb5, 0xc8, 0xae, 0x48, 0xae, 0xc8, 0xae, 0x28, 0xee, 0x7c, 0xaf, 0x84, 0x92, 0xda,
	0xc6, 0x5e, 0x76, 0x31, 0x28, 0x32, 0xe8, 0xf3, 0xf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