// SetKind sets the Kind field's value.
182581
func (s *Resolver) SetKind(v string) *Resolver {
	s.Kind = &v
	return s
}
470510
func (s *Source) SetType(v string) *Source {
	s.Type = &v
	return s
}
1083249
func getKind(schema proto.Schema) (*proto.Kind, error) {
	if schema == nil {
		return nil, nil
	}
	visitor := &kindSchemaVisitor{}
	schema.Accept(visitor)
	return visitor.Result, visitor.Err
}
849056
func SetLevel(level Level) {
	l, err := parseLevel(level)
	if err != nil {
		fmt.Printf("%v", err)
	}

	std.mu.Lock()
	defer std.mu.Unlock()
	std.Level = l
}
892915
func (s *Parent) SetType(v string) *Parent {
	s.Type = &v
	return s
}
157268
func (s *LoggingOptions) SetLevel(v string) *LoggingOptions {
	s.Level = &v
	return s
}
1136686
func (s *Resource) SetType(v string) *Resource {
	s.Type = &v
	return s
}
998188
func (s *Permission) SetLevel(v string) *Permission {
	s.Level = &v
	return s
}
638402
func (i *PodContainerImage) SetKind(typ ImageType) *PodContainerImage {
	i.Kind = typ
	return i
}
871371
func (s *ListUploadsInput) SetType(v string) *ListUploadsInput {
	s.Type = &v
	return s
}
485081
func (s *UpdateNetworkProfileInput) SetType(v string) *UpdateNetworkProfileInput {
	s.Type = &v
	return s
}
1346088
func (s *HealthCheckConfig) SetType(v string) *HealthCheckConfig {
	s.Type = &v
	return s
}
400108
func (s *Input) SetType(v string) *Input {
	s.Type = &v
	return s
}
755757
func (s *Limit) SetType(v string) *Limit {
	s.Type = &v
	return s
}
1299634
func (s *UsageInstruction) SetType(v string) *UsageInstruction {
	s.Type = &v
	return s
}
507388
func (s *ListArtifactsInput) SetType(v string) *ListArtifactsInput {
	s.Type = &v
	return s
}
584773
func setTargetKind(obj Object, kind schema.GroupVersionKind) {
	if kind.Version == APIVersionInternal {
		// internal is a special case
		// TODO: look at removing the need to special case this
		obj.GetObjectKind().SetGroupVersionKind(schema.GroupVersionKind{})
		return
	}
	obj.GetObjectKind().SetGroupVersionKind(kind)
}